com.ibm.adt.topology.provider.impl
Class TopologyObjectTypeImpl

java.lang.Object
  extended by 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.


Field Summary
 
Fields inherited from interface com.ibm.adt.topology.object.TopologyObjectType
APPLICATION, ARTIFACT, CHILD, COMPUTER_SYSTEM, PROVIDER, RESOURCE, SERVER, SERVER_COLLECTION
 
Constructor Summary
TopologyObjectTypeImpl(java.lang.String publicType, java.lang.String superType, java.lang.String internalType)
           
 
Method Summary
(package private)  void addRelationshipMetaInfo(RelationshipMetaInfo metaInfo)
           
 java.lang.String getInternalType()
           
 java.lang.String getNamespace()
           
(package private)  java.util.Collection getObjects()
           
 java.lang.String getPublicType()
           
(package private)  RelationshipMetaInfo[] getRelationshipsMetaInfo()
           
(package private)  RelationshipMetaInfo[] getRelationshipsMetaInfo(java.lang.String targetRelationshipKey)
           
 java.lang.String getSuperType()
           
 boolean instanceOf(java.lang.String superType)
          Tests if the type is an instance of the specified superType
(package private)  boolean isObjectsCached()
           
(package private)  boolean isRelationshipMetaInfoValid(RelationshipMetaInfo metaInfo)
           
(package private)  void setObjectsCached()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TopologyObjectTypeImpl

TopologyObjectTypeImpl(java.lang.String publicType,
                       java.lang.String superType,
                       java.lang.String internalType)
Method Detail

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