com.ibm.adt.topology.provider.impl
Class TopologyObjectTypeImpl
java.lang.Object
com.ibm.adt.topology.provider.impl.TopologyObjectTypeImpl
- All Implemented Interfaces:
- TopologyObjectType
final class TopologyObjectTypeImpl
- extends java.lang.Object
- implements TopologyObjectType
Provides default implementation of TopologyObjectType used internally within
the default Provider implementation.
Constructor Summary |
TopologyObjectTypeImpl(java.lang.String publicType,
java.lang.String superType,
java.lang.String internalType)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TopologyObjectTypeImpl
TopologyObjectTypeImpl(java.lang.String publicType,
java.lang.String superType,
java.lang.String internalType)
getInternalType
public final java.lang.String getInternalType()
- Specified by:
getInternalType
in interface TopologyObjectType
- Returns:
- the internalType
getSuperType
public final java.lang.String getSuperType()
- Specified by:
getSuperType
in interface TopologyObjectType
- Returns:
- the superType
getPublicType
public final java.lang.String getPublicType()
- Specified by:
getPublicType
in interface TopologyObjectType
- Returns:
- the well-known type
instanceOf
public final boolean instanceOf(java.lang.String superType)
- Description copied from interface:
TopologyObjectType
- Tests if the type is an instance of the specified superType
- Specified by:
instanceOf
in interface TopologyObjectType
- Returns:
- true if type is an instance of superType
getObjects
final java.util.Collection getObjects()
getRelationshipsMetaInfo
final RelationshipMetaInfo[] getRelationshipsMetaInfo()
addRelationshipMetaInfo
final void addRelationshipMetaInfo(RelationshipMetaInfo metaInfo)
isRelationshipMetaInfoValid
final boolean isRelationshipMetaInfoValid(RelationshipMetaInfo metaInfo)
getRelationshipsMetaInfo
final RelationshipMetaInfo[] getRelationshipsMetaInfo(java.lang.String targetRelationshipKey)
throws TopologyException
- Throws:
TopologyException
isObjectsCached
final boolean isObjectsCached()
setObjectsCached
final void setObjectsCached()
toString
public final java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getNamespace
public java.lang.String getNamespace()
- Specified by:
getNamespace
in interface TopologyObjectType
- Returns:
- the namespace
© Copyright 2006 IBM Corp. 2006 All Rights Reserved