public class CMSComponentDescription extends java.lang.Object implements IComponentDescription, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String[] |
breakpoints
The breakpoints.
|
protected java.util.Set<IComponentIdentifier> |
children
Attribute for children.
|
protected long |
creationtime
The creation time.
|
protected IComponentIdentifier |
creator
The creator.
|
protected java.lang.String |
filename
The file name.
|
protected java.lang.String |
localtype
The local type name (from parent).
|
protected java.lang.String |
modelname
The model name.
|
protected IMonitoringService.PublishEventLevel |
monitoring
The monitoring flag.
|
protected IComponentIdentifier |
name
Attribute for slot component identifier.
|
protected java.lang.String |
ownership
Attribute for slot ownership.
|
protected IResourceIdentifier |
rid
The resource identifier.
|
protected java.lang.String |
state
Attribute for slot state.
|
protected java.lang.String |
stepinfo
The step info for debugging.
|
protected boolean |
synchronous
The synchronous flag.
|
protected boolean |
systemcomponent
Boolean flag if it is a system component.
|
protected java.lang.String |
type
The component type.
|
STATE_ACTIVE, STATE_SUSPENDED, STATE_TERMINATED
Constructor and Description |
---|
CMSComponentDescription()
Create a new CESComponentDescription.
|
CMSComponentDescription(IComponentIdentifier cid)
Create a new CMSComponentDescription.
|
Modifier and Type | Method and Description |
---|---|
CMSComponentDescription |
addChild(IComponentIdentifier child)
Add a child component.
|
java.lang.Object |
clone()
Clone a component description.
|
boolean |
equals(java.lang.Object o)
Test if this description equals another description.
|
java.lang.String[] |
getBreakpoints()
Get the enabled breakpoints (if any).
|
IComponentIdentifier[] |
getChildren()
Get the children.
|
long |
getCreationTime()
Get the creation time.
|
IComponentIdentifier |
getCreator()
Get the creator.
|
java.lang.String |
getFilename()
Get the file name.
|
java.lang.String |
getLocalType()
Get the localtype.
|
java.lang.String |
getModelName()
Get the model name.
|
IMonitoringService.PublishEventLevel |
getMonitoring()
Get the monitoring.
|
IComponentIdentifier |
getName()
Get the componentidentifier of this CESComponentDescription.
|
java.lang.String |
getOwnership()
Get the ownership of this CESComponentDescription.
|
IResourceIdentifier |
getResourceIdentifier()
Get the resource identifier.
|
java.lang.String |
getState()
Get the state of this CESComponentDescription.
|
java.lang.String |
getType()
Get the component type.
|
int |
hashCode()
Get the hash code of this description.
|
boolean |
isSynchronous()
Get the synchronous flag.
|
boolean |
isSystemComponent()
Test if it is a system component.
|
CMSComponentDescription |
removeChild(IComponentIdentifier child)
Remove a child component.
|
CMSComponentDescription |
setBreakpoints(java.lang.String[] breakpoints)
Set the enabled breakpoints (if any).
|
CMSComponentDescription |
setCreationTime(long creationtime)
Set the creationtime.
|
CMSComponentDescription |
setCreator(IComponentIdentifier creator)
Set the creator.
|
CMSComponentDescription |
setFilename(java.lang.String filename) |
CMSComponentDescription |
setLocalType(java.lang.String localtype)
Set the localtype.
|
CMSComponentDescription |
setModelName(java.lang.String modelname)
Set the model name.
|
CMSComponentDescription |
setMonitoring(IMonitoringService.PublishEventLevel monitoring)
Set the monitoring.
|
CMSComponentDescription |
setName(IComponentIdentifier name)
Set the componentidentifier of this CESComponentDescription.
|
CMSComponentDescription |
setOwnership(java.lang.String ownership)
Set the ownership of this CESComponentDescription.
|
CMSComponentDescription |
setResourceIdentifier(IResourceIdentifier rid)
Set the resource identifier.
|
CMSComponentDescription |
setState(java.lang.String state)
Set the state of this CESComponentDescription.
|
CMSComponentDescription |
setSynchronous(boolean synchronous)
Set the synchronous flag.
|
CMSComponentDescription |
setSystemComponent(boolean systemcomponent)
Set the system component flag.
|
CMSComponentDescription |
setType(java.lang.String type)
Set the component type.
|
java.lang.String |
toString()
Get a string representation of this description.
|
protected java.lang.String state
protected IComponentIdentifier name
protected IResourceIdentifier rid
protected java.util.Set<IComponentIdentifier> children
protected java.lang.String ownership
protected java.lang.String type
protected java.lang.String[] breakpoints
protected boolean synchronous
protected IMonitoringService.PublishEventLevel monitoring
protected java.lang.String modelname
protected java.lang.String filename
protected java.lang.String localtype
protected long creationtime
protected IComponentIdentifier creator
protected java.lang.String stepinfo
protected boolean systemcomponent
public CMSComponentDescription()
public CMSComponentDescription(IComponentIdentifier cid)
public java.lang.String getState()
getState
in interface IComponentDescription
public CMSComponentDescription setState(java.lang.String state)
state
- the value to be setpublic IComponentIdentifier getName()
getName
in interface IComponentDescription
public CMSComponentDescription setName(IComponentIdentifier name)
name
- the value to be setpublic IResourceIdentifier getResourceIdentifier()
getResourceIdentifier
in interface IComponentDescription
public CMSComponentDescription setResourceIdentifier(IResourceIdentifier rid)
rid
- The resource identifier.public CMSComponentDescription addChild(IComponentIdentifier child)
child
- The child component.public CMSComponentDescription removeChild(IComponentIdentifier child)
child
- The child component.public IComponentIdentifier[] getChildren()
public java.lang.String getOwnership()
getOwnership
in interface IComponentDescription
public CMSComponentDescription setOwnership(java.lang.String ownership)
ownership
- the value to be setpublic java.lang.String getType()
getType
in interface IComponentDescription
public CMSComponentDescription setType(java.lang.String type)
type
- The component type name (e.g. 'BDI Agent').public java.lang.String[] getBreakpoints()
getBreakpoints
in interface IComponentDescription
public CMSComponentDescription setBreakpoints(java.lang.String[] breakpoints)
breakpoints
- The enabled breakpoints.public java.lang.String getModelName()
getModelName
in interface IComponentDescription
public CMSComponentDescription setModelName(java.lang.String modelname)
modelname
- The model name.public java.lang.String getLocalType()
getLocalType
in interface IComponentDescription
public CMSComponentDescription setLocalType(java.lang.String localtype)
localtype
- The localtype to set.public long getCreationTime()
getCreationTime
in interface IComponentDescription
public CMSComponentDescription setCreationTime(long creationtime)
creationtime
- The creationtime to set.public IComponentIdentifier getCreator()
getCreator
in interface IComponentDescription
public CMSComponentDescription setCreator(IComponentIdentifier creator)
creator
- The creator to set.public boolean isSynchronous()
isSynchronous
in interface IComponentDescription
public CMSComponentDescription setSynchronous(boolean synchronous)
synchronous
- The synchronous flag.public IMonitoringService.PublishEventLevel getMonitoring()
getMonitoring
in interface IComponentDescription
public CMSComponentDescription setMonitoring(IMonitoringService.PublishEventLevel monitoring)
monitoring
- The monitoring to set.public java.lang.String getFilename()
IComponentDescription
getFilename
in interface IComponentDescription
public CMSComponentDescription setFilename(java.lang.String filename)
filename
- the filename to setpublic boolean isSystemComponent()
isSystemComponent
in interface IComponentDescription
public CMSComponentDescription setSystemComponent(boolean systemcomponent)
systemcomponent
- The flag.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object