com.att.gs.codip.ograph.imp
Class OGPropInstanceImp
java.lang.Object
|
+--com.att.gs.codip.resource.AbstractResource
|
+--com.att.gs.codip.ograph.imp.OGResourceImp
|
+--com.att.gs.codip.ograph.imp.OGPropertyImp
|
+--com.att.gs.codip.ograph.imp.OGPropInstanceImp
- All Implemented Interfaces:
- LogicalResource, OGInstance, OGProperty, OGPropInstance, OGResource
- public class OGPropInstanceImp
- extends OGPropertyImp
- implements OGPropInstance, OGInstance
Method Summary |
OGResource |
getObject()
Getter method for this properties object resource. |
OGResource |
getProperty()
Getter method for this instance's property resource. |
OGResource |
getSubject()
Getter method for this properties subject resource. |
boolean |
pInstance()
Determines if this property is a defintion or an instances
based on the values of its subject and object attributes. |
void |
setObject(OGResource theObject)
Setter method for this properties object resource. |
void |
setSubject(OGResource theSubject)
Setter method for this properties subject resource. |
Methods inherited from class com.att.gs.codip.ograph.imp.OGResourceImp |
addNewPropInstance, addPropInstance, addType, containsPropInstance, containsType, copyRDF, getComment, getLabel, getOntology, getPropInstance, getPropInstances, getPropInstances, isType, lookupPropInstance, morphID, propInstances, propInstances, removePropInstance, removeType, resourceInitialization, setComment, setLabel, setType, toString, types |
Methods inherited from class com.att.gs.codip.resource.AbstractResource |
equals, getID, getLocalName, getNamespace, getType, getURI, isLiteralType, isType, resourceInitialization, setID, setLocalName, setNamespace, setType, setURI |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.att.gs.codip.ograph.OGResource |
addNewPropInstance, addPropInstance, addType, containsPropInstance, containsType, getComment, getID, getLabel, getLocalName, getNamespace, getOntology, getPropInstance, getPropInstances, getPropInstances, getURI, lookupPropInstance, propInstances, propInstances, removePropInstance, removeType, setComment, setLabel, types |
subject
protected OGResource subject
object
protected OGResource object
OGPropInstanceImp
protected OGPropInstanceImp(OGOntology anOntology)
OGPropInstanceImp
public OGPropInstanceImp(java.lang.String theID,
OGOntology anOntology)
setObject
public void setObject(OGResource theObject)
- Description copied from interface:
OGPropInstance
- Setter method for this properties object resource.
- Specified by:
setObject
in interface OGPropInstance
- Parameters:
theObject
- The resource that is the value of this property.
getObject
public OGResource getObject()
- Description copied from interface:
OGPropInstance
- Getter method for this properties object resource.
- Specified by:
getObject
in interface OGPropInstance
setSubject
public void setSubject(OGResource theSubject)
- Description copied from interface:
OGPropInstance
- Setter method for this properties subject resource.
- Specified by:
setSubject
in interface OGPropInstance
- Parameters:
theSubject
- The resource that has this property.
getSubject
public OGResource getSubject()
- Description copied from interface:
OGPropInstance
- Getter method for this properties subject resource.
- Specified by:
getSubject
in interface OGPropInstance
getProperty
public OGResource getProperty()
- Description copied from interface:
OGInstance
- Getter method for this instance's property resource.
- Specified by:
getProperty
in interface OGInstance
pInstance
public boolean pInstance()
- Description copied from interface:
OGProperty
- Determines if this property is a defintion or an instances
based on the values of its subject and object attributes.
- Specified by:
pInstance
in interface OGProperty
- Overrides:
pInstance
in class OGPropertyImp
CODIP AT&T Government Solutions, Inc.