com.ibm.di.connector.ccmdb.model
Class ModelObject

java.lang.Object
  extended by com.ibm.di.connector.ccmdb.model.ModelObject
Direct Known Subclasses:
ActualCI, CIRelation, ClassAttribute, OMPRelation

public class ModelObject
extends Object

This is a base class for all classes from the data model.


Constructor Summary
ModelObject()
           
 
Method Summary
protected  Map<String,Object> getProperties()
           
 Object getProperty(String name)
           
 int getPropertyCount()
           
 Set<String> getPropertyNames()
           
 String getStringProperty(String name)
           
 void setProperty(String name, Object value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModelObject

public ModelObject()
Method Detail

setProperty

public void setProperty(String name,
                        Object value)
Parameters:
name -
value -

getProperties

protected Map<String,Object> getProperties()
Returns:
Map

getPropertyCount

public int getPropertyCount()
Returns:
int

getPropertyNames

public Set<String> getPropertyNames()
Returns:
Set

getProperty

public Object getProperty(String name)
Parameters:
name -
Returns:
Object

getStringProperty

public String getStringProperty(String name)
Parameters:
name -
Returns:
String

toString

public String toString()
Overrides:
toString in class Object