Class PropertyInfo

java.lang.Object
com.activeviam.tech.core.api.property.impl.PropertyInfo
All Implemented Interfaces:
IPropertyInfo, Serializable

public final class PropertyInfo extends Object implements IPropertyInfo
The base implementation of an IPropertyInfo.
Author:
ActiveViam
See Also:
  • Constructor Details

    • PropertyInfo

      public PropertyInfo()
      Empty constructor for JAXB serialization.
    • PropertyInfo

      public PropertyInfo(String name)
    • PropertyInfo

      public PropertyInfo(String name, String expression)
    • PropertyInfo

      public PropertyInfo(String name, String expression, String pluginKey)
      Constructor.
  • Method Details

    • getName

      public String getName()
      Description copied from interface: IPropertyInfo
      The name of the property. It is required to be non null.
      Specified by:
      getName in interface IPropertyInfo
      Returns:
      the name of the property.
    • setName

      public void setName(String name)
    • getExpression

      public String getExpression()
      Description copied from interface: IPropertyInfo
      The expression of the property. Can be null.
      Specified by:
      getExpression in interface IPropertyInfo
      Returns:
      the expression of the property.
    • setExpression

      public void setExpression(String expression)
    • getPluginKey

      public String getPluginKey()
      Description copied from interface: IPropertyInfo
      The plugin key, if one wants to instantiate a custom property. Can be null.
      Specified by:
      getPluginKey in interface IPropertyInfo
      Returns:
      the plugin key of the property.
    • setPluginKey

      public void setPluginKey(String pluginKey)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object