Class BibtexPropertyGetter

All Implemented Interfaces:
IPropertyGetter

public class BibtexPropertyGetter extends AbstractPropertyGetter
Since:
1.6
  • Constructor Details

    • BibtexPropertyGetter

      public BibtexPropertyGetter()
  • Method Details

    • hasProperty

      public boolean hasProperty(Object object, String property, IEolContext context)
      Description copied from interface: IPropertyGetter
      Convenience method for checking whether a property exists.
      Parameters:
      object - The model element.
      property - The property name of the model element.
      context - The execution context.
      Returns:
      true if the property exists, false otherwise.
    • invoke

      public Object invoke(Object object, String property, IEolContext context) throws EolRuntimeException
      Description copied from interface: IPropertyGetter
      Invokes a property on a model element.
      Parameters:
      object - The model element.
      property - The property name of the model element.
      context - The execution context.
      Returns:
      The value of the requested property.
      Throws:
      EolIllegalPropertyException - If the property could not be found.
      EolRuntimeException - If an exception occurs when querying the model for the property.