Package jadex.bridge.service.types.cms
Class CMSComponentDescription
- java.lang.Object
-
- jadex.bridge.service.types.cms.CMSComponentDescription
-
- All Implemented Interfaces:
IComponentDescription
,java.lang.Cloneable
public class CMSComponentDescription extends java.lang.Object implements IComponentDescription, java.lang.Cloneable
Java class for concept CMSComponentDescription of beanynizer_beans_fipa_new ontology.
-
-
Field Summary
Fields Modifier and Type Field 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.-
Fields inherited from interface jadex.bridge.service.types.cms.IComponentDescription
STATE_ACTIVE, STATE_SUSPENDED, STATE_TERMINATED
-
-
Constructor Summary
Constructors Constructor Description CMSComponentDescription()
Create a new CESComponentDescription.CMSComponentDescription(IComponentIdentifier cid)
Create a new CMSComponentDescription.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Field Detail
-
state
protected java.lang.String state
Attribute for slot state.
-
name
protected IComponentIdentifier name
Attribute for slot component identifier.
-
rid
protected IResourceIdentifier rid
The resource identifier.
-
children
protected java.util.Set<IComponentIdentifier> children
Attribute for children.
-
ownership
protected java.lang.String ownership
Attribute for slot ownership.
-
type
protected java.lang.String type
The component type.
-
breakpoints
protected java.lang.String[] breakpoints
The breakpoints.
-
synchronous
protected boolean synchronous
The synchronous flag.
-
monitoring
protected IMonitoringService.PublishEventLevel monitoring
The monitoring flag.
-
modelname
protected java.lang.String modelname
The model name.
-
filename
protected java.lang.String filename
The file name.
-
localtype
protected java.lang.String localtype
The local type name (from parent).
-
creationtime
protected long creationtime
The creation time.
-
creator
protected IComponentIdentifier creator
The creator.
-
stepinfo
protected java.lang.String stepinfo
The step info for debugging. To determine the next step.
-
systemcomponent
protected boolean systemcomponent
Boolean flag if it is a system component.
-
-
Constructor Detail
-
CMSComponentDescription
public CMSComponentDescription()
Create a new CESComponentDescription.
-
CMSComponentDescription
public CMSComponentDescription(IComponentIdentifier cid)
Create a new CMSComponentDescription.
-
-
Method Detail
-
getState
public java.lang.String getState()
Get the state of this CESComponentDescription.- Specified by:
getState
in interfaceIComponentDescription
- Returns:
- state
-
setState
public CMSComponentDescription setState(java.lang.String state)
Set the state of this CESComponentDescription.- Parameters:
state
- the value to be set
-
getName
public IComponentIdentifier getName()
Get the componentidentifier of this CESComponentDescription.- Specified by:
getName
in interfaceIComponentDescription
- Returns:
- componentidentifier
-
setName
public CMSComponentDescription setName(IComponentIdentifier name)
Set the componentidentifier of this CESComponentDescription.- Parameters:
name
- the value to be set
-
getResourceIdentifier
public IResourceIdentifier getResourceIdentifier()
Get the resource identifier.- Specified by:
getResourceIdentifier
in interfaceIComponentDescription
- Returns:
- The resource identifier.
-
setResourceIdentifier
public CMSComponentDescription setResourceIdentifier(IResourceIdentifier rid)
Set the resource identifier.- Parameters:
rid
- The resource identifier.
-
addChild
public CMSComponentDescription addChild(IComponentIdentifier child)
Add a child component.- Parameters:
child
- The child component.
-
removeChild
public CMSComponentDescription removeChild(IComponentIdentifier child)
Remove a child component.- Parameters:
child
- The child component.
-
getChildren
public IComponentIdentifier[] getChildren()
Get the children.- Returns:
- The children.
-
getOwnership
public java.lang.String getOwnership()
Get the ownership of this CESComponentDescription.- Returns:
- ownership
-
setOwnership
public CMSComponentDescription setOwnership(java.lang.String ownership)
Set the ownership of this CESComponentDescription.- Parameters:
ownership
- the value to be set
-
getType
public java.lang.String getType()
Get the component type.- Specified by:
getType
in interfaceIComponentDescription
- Returns:
- The component type name (e.g. 'BDI Agent').
-
setType
public CMSComponentDescription setType(java.lang.String type)
Set the component type.- Parameters:
type
- The component type name (e.g. 'BDI Agent').
-
getBreakpoints
public java.lang.String[] getBreakpoints()
Get the enabled breakpoints (if any).- Specified by:
getBreakpoints
in interfaceIComponentDescription
- Returns:
- The enabled breakpoints.
-
setBreakpoints
public CMSComponentDescription setBreakpoints(java.lang.String[] breakpoints)
Set the enabled breakpoints (if any).- Parameters:
breakpoints
- The enabled breakpoints.
-
getModelName
public java.lang.String getModelName()
Get the model name.- Specified by:
getModelName
in interfaceIComponentDescription
- Returns:
- The name.
-
setModelName
public CMSComponentDescription setModelName(java.lang.String modelname)
Set the model name.- Parameters:
modelname
- The model name.
-
getLocalType
public java.lang.String getLocalType()
Get the localtype.- Specified by:
getLocalType
in interfaceIComponentDescription
- Returns:
- the localtype.
-
setLocalType
public CMSComponentDescription setLocalType(java.lang.String localtype)
Set the localtype.- Parameters:
localtype
- The localtype to set.
-
getCreationTime
public long getCreationTime()
Get the creation time.- Specified by:
getCreationTime
in interfaceIComponentDescription
- Returns:
- The creation time.
-
setCreationTime
public CMSComponentDescription setCreationTime(long creationtime)
Set the creationtime.- Parameters:
creationtime
- The creationtime to set.
-
getCreator
public IComponentIdentifier getCreator()
Get the creator.- Specified by:
getCreator
in interfaceIComponentDescription
- Returns:
- The creator.
-
setCreator
public CMSComponentDescription setCreator(IComponentIdentifier creator)
Set the creator.- Parameters:
creator
- The creator to set.
-
isSynchronous
public boolean isSynchronous()
Get the synchronous flag.- Specified by:
isSynchronous
in interfaceIComponentDescription
- Returns:
- The synchronous flag.
-
setSynchronous
public CMSComponentDescription setSynchronous(boolean synchronous)
Set the synchronous flag.- Parameters:
synchronous
- The synchronous flag.
-
getMonitoring
public IMonitoringService.PublishEventLevel getMonitoring()
Get the monitoring.- Specified by:
getMonitoring
in interfaceIComponentDescription
- Returns:
- The monitoring.
-
setMonitoring
public CMSComponentDescription setMonitoring(IMonitoringService.PublishEventLevel monitoring)
Set the monitoring.- Parameters:
monitoring
- The monitoring to set.
-
getFilename
public java.lang.String getFilename()
Description copied from interface:IComponentDescription
Get the file name.- Specified by:
getFilename
in interfaceIComponentDescription
- Returns:
- the filename
-
setFilename
public CMSComponentDescription setFilename(java.lang.String filename)
- Parameters:
filename
- the filename to set
-
isSystemComponent
public boolean isSystemComponent()
Test if it is a system component.- Specified by:
isSystemComponent
in interfaceIComponentDescription
- Returns:
- True, if it is a system component.
-
setSystemComponent
public CMSComponentDescription setSystemComponent(boolean systemcomponent)
Set the system component flag.- Parameters:
systemcomponent
- The flag.
-
equals
public boolean equals(java.lang.Object o)
Test if this description equals another description.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Get the hash code of this description.- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
Get a string representation of this description.- Overrides:
toString
in classjava.lang.Object
-
clone
public java.lang.Object clone()
Clone a component description.- Overrides:
clone
in classjava.lang.Object
-
-