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[]breakpointsThe breakpoints.protected java.util.Set<IComponentIdentifier>childrenAttribute for children.protected longcreationtimeThe creation time.protected IComponentIdentifiercreatorThe creator.protected java.lang.StringfilenameThe file name.protected java.lang.StringlocaltypeThe local type name (from parent).protected java.lang.StringmodelnameThe model name.protected IMonitoringService.PublishEventLevelmonitoringThe monitoring flag.protected IComponentIdentifiernameAttribute for slot component identifier.protected java.lang.StringownershipAttribute for slot ownership.protected IResourceIdentifierridThe resource identifier.protected java.lang.StringstateAttribute for slot state.protected java.lang.StringstepinfoThe step info for debugging.protected booleansynchronousThe synchronous flag.protected booleansystemcomponentBoolean flag if it is a system component.protected java.lang.StringtypeThe 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 CMSComponentDescriptionaddChild(IComponentIdentifier child)Add a child component.java.lang.Objectclone()Clone a component description.booleanequals(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.longgetCreationTime()Get the creation time.IComponentIdentifiergetCreator()Get the creator.java.lang.StringgetFilename()Get the file name.java.lang.StringgetLocalType()Get the localtype.java.lang.StringgetModelName()Get the model name.IMonitoringService.PublishEventLevelgetMonitoring()Get the monitoring.IComponentIdentifiergetName()Get the componentidentifier of this CESComponentDescription.java.lang.StringgetOwnership()Get the ownership of this CESComponentDescription.IResourceIdentifiergetResourceIdentifier()Get the resource identifier.java.lang.StringgetState()Get the state of this CESComponentDescription.java.lang.StringgetType()Get the component type.inthashCode()Get the hash code of this description.booleanisSynchronous()Get the synchronous flag.booleanisSystemComponent()Test if it is a system component.CMSComponentDescriptionremoveChild(IComponentIdentifier child)Remove a child component.CMSComponentDescriptionsetBreakpoints(java.lang.String[] breakpoints)Set the enabled breakpoints (if any).CMSComponentDescriptionsetCreationTime(long creationtime)Set the creationtime.CMSComponentDescriptionsetCreator(IComponentIdentifier creator)Set the creator.CMSComponentDescriptionsetFilename(java.lang.String filename)CMSComponentDescriptionsetLocalType(java.lang.String localtype)Set the localtype.CMSComponentDescriptionsetModelName(java.lang.String modelname)Set the model name.CMSComponentDescriptionsetMonitoring(IMonitoringService.PublishEventLevel monitoring)Set the monitoring.CMSComponentDescriptionsetName(IComponentIdentifier name)Set the componentidentifier of this CESComponentDescription.CMSComponentDescriptionsetOwnership(java.lang.String ownership)Set the ownership of this CESComponentDescription.CMSComponentDescriptionsetResourceIdentifier(IResourceIdentifier rid)Set the resource identifier.CMSComponentDescriptionsetState(java.lang.String state)Set the state of this CESComponentDescription.CMSComponentDescriptionsetSynchronous(boolean synchronous)Set the synchronous flag.CMSComponentDescriptionsetSystemComponent(boolean systemcomponent)Set the system component flag.CMSComponentDescriptionsetType(java.lang.String type)Set the component type.java.lang.StringtoString()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:
getStatein 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:
getNamein 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:
getResourceIdentifierin 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.- Specified by:
getOwnershipin interfaceIComponentDescription- 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:
getTypein 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:
getBreakpointsin 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:
getModelNamein 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:
getLocalTypein 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:
getCreationTimein 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:
getCreatorin 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:
isSynchronousin 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:
getMonitoringin 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:IComponentDescriptionGet the file name.- Specified by:
getFilenamein 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:
isSystemComponentin 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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Get the hash code of this description.- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
Get a string representation of this description.- Overrides:
toStringin classjava.lang.Object
-
clone
public java.lang.Object clone()
Clone a component description.- Overrides:
clonein classjava.lang.Object
-
-