|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.att.gs.codip.resource.AbstractResource | +--com.att.gs.codip.ograph.imp.OGResourceImp | +--com.att.gs.codip.ograph.imp.OGClassImp
Field Summary |
Fields inherited from class com.att.gs.codip.ograph.imp.OGResourceImp |
EMPTY_MAP |
Fields inherited from class com.att.gs.codip.resource.AbstractResource |
delineatedType, isSingleTyped |
Constructor Summary | |
protected |
OGClassImp(OGOntology anOntology)
|
|
OGClassImp(java.lang.String theID,
OGOntology anOntology)
|
Method Summary | |
void |
addSubClassOf(OGClass theClass)
Adds the provided class to the class's subClassOf collection. |
boolean |
containsSubClassOf(java.lang.Object theID)
Looks for a super class in this class whose ID matches the provided ID. |
OGClass[] |
getSubClassOf()
Accessor for the read only indexed bean property, "subClassOf" |
OGClass |
getSubClassOf(java.lang.Object theID)
Looks for the provided super class in the class's subClassOf collection. |
OGClass |
lookupSubClassOf(java.lang.Object theID)
Looks for super classes of this class. |
void |
removeSubClassOf(OGClass theClass)
Removes the provided class from the class's subClassOf collection. |
java.util.Iterator |
subClassOf()
Provides a iterator for the all of the class's super classes. |
java.util.Iterator |
subClassOf(OGResource aType)
Looks for a super class in the subClassOf collection of this resource that is a particular type. |
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 |
Methods inherited from interface com.att.gs.codip.resource.LogicalResource |
getType, isLiteralType, isType, setType |
Constructor Detail |
protected OGClassImp(OGOntology anOntology)
public OGClassImp(java.lang.String theID, OGOntology anOntology)
Method Detail |
public OGClass lookupSubClassOf(java.lang.Object theID)
OGClass
lookupSubClassOf
in interface OGClass
theID
- The ID of the sought super class.
public void addSubClassOf(OGClass theClass)
OGClass
addSubClassOf
in interface OGClass
theClass
- The super class to add to the subClassOf collection.public void removeSubClassOf(OGClass theClass)
OGClass
removeSubClassOf
in interface OGClass
theClass
- The super class to remove from the subClassOf collection.public OGClass getSubClassOf(java.lang.Object theID)
OGClass
getSubClassOf
in interface OGClass
theID
- The ID of the super class to get.
public OGClass[] getSubClassOf()
OGClass
getSubClassOf
in interface OGClass
public boolean containsSubClassOf(java.lang.Object theID)
OGClass
containsSubClassOf
in interface OGClass
theID
- The ID of the sought super class.
public java.util.Iterator subClassOf()
OGClass
subClassOf
in interface OGClass
public java.util.Iterator subClassOf(OGResource aType)
OGClass
subClassOf
in interface OGClass
aType
- The type of the sought classes.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |