Class GenericModelObject

    • Field Detail

      • contextDependent

        protected Boolean contextDependent
    • Constructor Detail

      • GenericModelObject

        protected GenericModelObject​(String objectType)
    • Method Detail

      • getObjectType

        public final String getObjectType()
        Specified by:
        getObjectType in interface Object
        Returns:
        type of the current object
      • getID

        public String getID()
        Specified by:
        getID in interface Object
        Returns:
        id of the current object
      • getExtraContext

        public String getExtraContext()
        Specified by:
        getExtraContext in interface Object
        Returns:
        extra context of the current object
      • getContext

        public String getContext()
        Specified by:
        getContext in interface Object
        Returns:
        context of the current object
      • getLinkedObjects

        public List<? extends Object> getLinkedObjects​(String link)
        Specified by:
        getLinkedObjects in interface Object
        Parameters:
        link - - the name of a link
        Returns:
        List of objects with the given link
      • getLinks

        public List<String> getLinks()
        Specified by:
        getLinks in interface Object
        Returns:
        List of names of links for this object
      • getProperties

        public List<String> getProperties()
        Specified by:
        getProperties in interface Object
        Returns:
        List of names of properties for this object
      • isContextDependent

        public Boolean isContextDependent()
        Specified by:
        isContextDependent in interface Object
        Returns:
        null, if we have not know yet is this object context dependet of not. true, if this object is context dependent. false, if this object is not context dependent.
      • getSuperTypes

        public List<String> getSuperTypes()
        Specified by:
        getSuperTypes in interface Object
        Returns:
        List of supernames for this object