|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ModelObject
A class implements the ModelObject interface to indicate that
it is part of the Collation Object Model.
TODO : we need to define a unique identity for the object, i.e. a primary key
E.g if a ModelObject representing a host is uniquely identified by it's IP
address then the IP address property should be used as a unique key. This
must be independent of possible implementations of the ModelObject
| Method Summary | |
|---|---|
int |
getAdminState()
Returns the administrative state of the object |
java.util.Map |
getAllAttributes()
Returns all attribute values in a Map. |
int |
getBidiFlag()
Returns the Bidi flag of the object |
java.lang.String |
getBidiFormat()
Returns the Bidi format of the object |
java.lang.String |
getCDMSource()
Returns the source of object |
Guid |
getCmdbSource()
Returns the domain source of object |
java.lang.String |
getContextIp()
Returns the context in which the object was created. |
java.lang.String |
getCreatedBy()
Returns a string identifying how the object was created |
java.lang.String |
getDescription()
Returns a description of the object |
java.lang.String |
getDisplayName()
Returns a name string suitable for display in a UI. |
byte[] |
getExtendedAttributes()
|
Guid |
getGuid()
Returns the primary Guid of the object |
java.lang.String |
getLabel()
Returns the user defined label of the object |
java.lang.String |
getLastModifiedBy()
Returns a string identifying how the object was last modified |
long |
getLastModifiedTime()
Returns the last modified time |
java.lang.String |
getObjectType()
Returns the type of object |
java.lang.String |
getSourceToken()
Returns the source token of object |
boolean |
hasAdminState()
|
boolean |
hasBidiFlag()
|
boolean |
hasBidiFormat()
|
boolean |
hasCDMSource()
|
boolean |
hasCmdbSource()
|
boolean |
hasContextIp()
|
boolean |
hasDescription()
|
boolean |
hasDisplayName()
|
boolean |
hasExtendedAttributes()
|
boolean |
hasGuid()
|
boolean |
hasLabel()
|
boolean |
hasObjectType()
|
boolean |
hasSourceToken()
|
void |
setAdminState(int state)
Sets the administrative state of the object |
void |
setBidiFlag(int bidiflag)
Sets the BiDi flag of the object |
void |
setBidiFormat(java.lang.String bidiformat)
Sets the BiDi format of the object |
void |
setCDMSource(java.lang.String source)
Sets the source of object |
void |
setCmdbSource(Guid cmdbsource)
Sets the domain source of object |
void |
setContextIp(java.lang.String ctx)
Sets the context in which the object was created. |
void |
setDescription(java.lang.String description)
Sets a description of the object |
void |
setExtendedAttributes(byte[] eAttribMap)
|
void |
setGuid(Guid guid)
Set the primary Guid of the object |
void |
setLabel(java.lang.String label)
Sets the user defined label of the object |
void |
setObjectType(java.lang.String type)
Sets the type of object |
void |
setSourceToken(java.lang.String sourceToken)
Sets the source token of object |
| Method Detail |
|---|
Guid getGuid()
throws AttributeNotSetException
AttributeNotSetExceptionvoid setGuid(Guid guid)
guid - Guidboolean hasGuid()
java.lang.String getDisplayName()
throws AttributeNotSetException
AttributeNotSetExceptionboolean hasDisplayName()
java.lang.String getContextIp()
throws AttributeNotSetException
AttributeNotSetExceptionvoid setContextIp(java.lang.String ctx)
context - The Contextboolean hasContextIp()
java.lang.String getObjectType()
throws AttributeNotSetException
AttributeNotSetExceptionvoid setObjectType(java.lang.String type)
type - Object typeboolean hasObjectType()
java.lang.String getCDMSource()
throws AttributeNotSetException
AttributeNotSetExceptionvoid setCDMSource(java.lang.String source)
type - Object sourceboolean hasCDMSource()
java.lang.String getSourceToken()
throws AttributeNotSetException
AttributeNotSetExceptionvoid setSourceToken(java.lang.String sourceToken)
type - Object sourceboolean hasSourceToken()
Guid getCmdbSource()
throws AttributeNotSetException
AttributeNotSetExceptionvoid setCmdbSource(Guid cmdbsource)
type - Object cmdbsourceboolean hasCmdbSource()
java.lang.String getLabel()
throws AttributeNotSetException
AttributeNotSetExceptionvoid setLabel(java.lang.String label)
label - Labelboolean hasLabel()
java.lang.String getDescription()
throws AttributeNotSetException
AttributeNotSetExceptionvoid setDescription(java.lang.String description)
description - Descriptionboolean hasDescription()
int getAdminState()
throws AttributeNotSetException
AttributeNotSetExceptionvoid setAdminState(int state)
state - Stateboolean hasAdminState()
int getBidiFlag()
throws AttributeNotSetException
AttributeNotSetExceptionvoid setBidiFlag(int bidiflag)
bidiflag - BidiFlagboolean hasBidiFlag()
java.lang.String getBidiFormat()
throws AttributeNotSetException
AttributeNotSetExceptionvoid setBidiFormat(java.lang.String bidiformat)
bidiformat - BidiFormatboolean hasBidiFormat()
java.util.Map getAllAttributes()
java.lang.String getCreatedBy()
throws AttributeNotSetException
AttributeNotSetException - if the attribute has not been loaded from persistent
storage.
long getLastModifiedTime()
throws AttributeNotSetException
AttributeNotSetException - if the attribute has not been loaded from persistent
storage.
java.lang.String getLastModifiedBy()
throws AttributeNotSetException
AttributeNotSetException - if the attribute has not been loaded from persistent
storage.
byte[] getExtendedAttributes()
throws AttributeNotSetException
AttributeNotSetExceptionvoid setExtendedAttributes(byte[] eAttribMap)
boolean hasExtendedAttributes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||