|
||||||||||
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
AttributeNotSetException
void setGuid(Guid guid)
guid
- Guidboolean hasGuid()
java.lang.String getDisplayName() throws AttributeNotSetException
AttributeNotSetException
boolean hasDisplayName()
java.lang.String getContextIp() throws AttributeNotSetException
AttributeNotSetException
void setContextIp(java.lang.String ctx)
context
- The Contextboolean hasContextIp()
java.lang.String getObjectType() throws AttributeNotSetException
AttributeNotSetException
void setObjectType(java.lang.String type)
type
- Object typeboolean hasObjectType()
java.lang.String getCDMSource() throws AttributeNotSetException
AttributeNotSetException
void setCDMSource(java.lang.String source)
type
- Object sourceboolean hasCDMSource()
java.lang.String getSourceToken() throws AttributeNotSetException
AttributeNotSetException
void setSourceToken(java.lang.String sourceToken)
type
- Object sourceboolean hasSourceToken()
Guid getCmdbSource() throws AttributeNotSetException
AttributeNotSetException
void setCmdbSource(Guid cmdbsource)
type
- Object cmdbsourceboolean hasCmdbSource()
java.lang.String getLabel() throws AttributeNotSetException
AttributeNotSetException
void setLabel(java.lang.String label)
label
- Labelboolean hasLabel()
java.lang.String getDescription() throws AttributeNotSetException
AttributeNotSetException
void setDescription(java.lang.String description)
description
- Descriptionboolean hasDescription()
int getAdminState() throws AttributeNotSetException
AttributeNotSetException
void setAdminState(int state)
state
- Stateboolean hasAdminState()
int getBidiFlag() throws AttributeNotSetException
AttributeNotSetException
void setBidiFlag(int bidiflag)
bidiflag
- BidiFlagboolean hasBidiFlag()
java.lang.String getBidiFormat() throws AttributeNotSetException
AttributeNotSetException
void 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
AttributeNotSetException
void setExtendedAttributes(byte[] eAttribMap)
boolean hasExtendedAttributes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |