Class GenericModelObject

java.lang.Object
org.verapdf.model.GenericModelObject
All Implemented Interfaces:
Object

public abstract class GenericModelObject extends Object implements Object
  • Field Details

    • contextDependent

      protected Boolean contextDependent
  • Constructor Details

    • GenericModelObject

      protected GenericModelObject(String objectType)
  • Method Details

    • 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