Interface Feature


  • public interface Feature
    An instance of a FeatureType containing values for a real-world phenomena. Each feature instance can provide values for the following properties: Feature can be instantiated by calls to FeatureType.newInstance().

    Simple features

    A feature is said “simple” if it complies to all the following conditions:
    • the feature allows only attributes and operations (no associations),
    • the multiplicity of all attributes is constrained to [1 … 1].

    Moving features

    A feature is a moving feature if it complies to at least one of the following conditions:
    Since:
    3.1
    See Also:
    FeatureType
    • Method Summary

      Modifier and Type Method Description
      Property getProperty​(String name)
      Returns the property (attribute, feature association or operation result) of the given name.
      Object getPropertyValue​(String name)
      Returns the value for the property of the given name.
      FeatureType getType()
      Returns information about the feature (name, characteristics, etc.).
      void setProperty​(Property property)
      Sets the property (attribute or feature association).
      void setPropertyValue​(String name, Object value)
      Sets the value for the property of the given name.