Package org.verapdf.model
Class GenericModelObject
- java.lang.Object
-
- org.verapdf.model.GenericModelObject
-
- All Implemented Interfaces:
Object
- Direct Known Subclasses:
AXLXMPObject
,GFCosObject
,GFExternal
,GFGlyph
,GFOperator
,GFOutputIntents
,GFPDObject
,GFSAAnnotation
,GFSAChunk
,GFSAPage
,GFSAPDFDocument
,GFSARepeatedCharacters
,GFSAStructElem
,GFSAStructTreeRoot
,GFSATableBorder
,GFSATableBorderCell
,GFSATableBorderRow
,GFSEContentItem
,GFTransparencyColorSpace
public abstract class GenericModelObject extends Object implements Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Boolean
contextDependent
-
Constructor Summary
Constructors Modifier Constructor Description protected
GenericModelObject(String objectType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContext()
String
getExtraContext()
String
getID()
List<? extends Object>
getLinkedObjects(String link)
List<String>
getLinks()
String
getObjectType()
List<String>
getProperties()
List<String>
getSuperTypes()
Boolean
isContextDependent()
-
-
-
Field Detail
-
contextDependent
protected Boolean contextDependent
-
-
Constructor Detail
-
GenericModelObject
protected GenericModelObject(String objectType)
-
-
Method Detail
-
getObjectType
public final String getObjectType()
- Specified by:
getObjectType
in interfaceObject
- Returns:
- type of the current object
-
getID
public String getID()
-
getExtraContext
public String getExtraContext()
- Specified by:
getExtraContext
in interfaceObject
- Returns:
- extra context of the current object
-
getContext
public String getContext()
- Specified by:
getContext
in interfaceObject
- Returns:
- context of the current object
-
getLinkedObjects
public List<? extends Object> getLinkedObjects(String link)
- Specified by:
getLinkedObjects
in interfaceObject
- Parameters:
link
- - the name of a link- Returns:
- List of objects with the given link
-
getProperties
public List<String> getProperties()
- Specified by:
getProperties
in interfaceObject
- Returns:
- List of names of properties for
this
object
-
isContextDependent
public Boolean isContextDependent()
- Specified by:
isContextDependent
in interfaceObject
- 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 interfaceObject
- Returns:
- List of supernames for
this
object
-
-