Class BuiltinAspectsBase

  • All Implemented Interfaces:
    BuiltinAspects
    Direct Known Subclasses:
    ModelstoreBase

    public class BuiltinAspectsBase
    extends Object
    implements BuiltinAspects
    Return the IDs of the aspects that are always present in the ModelContext objects. This class implements BuiltinAspects and is intended to be used either as an OSGi service alone or as a base class for the Modelstore implementation.
    • Constructor Detail

      • BuiltinAspectsBase

        public BuiltinAspectsBase()
    • Method Detail

      • getRelationshipAspectId

        public UUID getRelationshipAspectId()
        Description copied from interface: BuiltinAspects
        The "relationship" aspect defines a Propertyset with reference properties "origin" and "target" and can be used to represent a relationship between two propertysets.
        Specified by:
        getRelationshipAspectId in interface BuiltinAspects
        Returns:
        the UUID of the Propertyset defining the "relationship" aspect
      • getGeneralRelationshipAspectId

        public UUID getGeneralRelationshipAspectId()
        Description copied from interface: BuiltinAspects
        The "general relationship" aspect inherits the "relationship" aspect and adds a name and a description property.
        Specified by:
        getGeneralRelationshipAspectId in interface BuiltinAspects
        Returns:
        the UUID of the Propertyset defining the "general relationship" aspect
      • getModelAspectId

        public UUID getModelAspectId()
        Description copied from interface: BuiltinAspects
        The "model" aspect defines a model. A model is a propertyset containing other propertysets.
        Specified by:
        getModelAspectId in interface BuiltinAspects
        Returns:
        the UUID of the Propertyset defining the "model" aspect
      • getAspectContainerAspectId

        public UUID getAspectContainerAspectId()
        Description copied from interface: BuiltinAspects
        The "aspect container" aspect defines a propertyset that holds a list of references to other aspect. It also holds a reference to an aspect definition. The aspect definition will be applied to all of the contained propertysets. One aspect can be contained by two separate aspect containers and have different aspects in each container.
        Specified by:
        getAspectContainerAspectId in interface BuiltinAspects
        Returns:
        the UUID of the Propertyset defining the "aspect container" aspect