com.silverpeas.workflow.engine.model
Class SpecificLabel

java.lang.Object
  extended by com.silverpeas.workflow.engine.AbstractReferrableObject
      extended by com.silverpeas.workflow.engine.model.SpecificLabel
All Implemented Interfaces:
ContextualDesignation, ReferrableObjectIntf, Serializable

public class SpecificLabel
extends AbstractReferrableObject
implements Serializable, ContextualDesignation

Class implementing the representation of the following elements of a Process Model:

See Also:
Serialized Form

Constructor Summary
SpecificLabel()
          Constructor
SpecificLabel(String role, String lang)
          Constructor
 
Method Summary
 String getContent()
          Get the content of specific label
 String getKey()
          Get the unique key, used by equals method
 String getLanguage()
          Get the language of specific label
 String getRole()
          Get the role for which this specific label is
 void setContent(String content)
          Set the content of specific label
 void setLanguage(String language)
          Set the language of specific label
 void setRole(String role)
          Set the role for which this specific label is
 
Methods inherited from class com.silverpeas.workflow.engine.AbstractReferrableObject
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecificLabel

public SpecificLabel()
Constructor


SpecificLabel

public SpecificLabel(String role,
                     String lang)
Constructor

Method Detail

getContent

public String getContent()
Get the content of specific label

Specified by:
getContent in interface ContextualDesignation
Returns:
a string value

getLanguage

public String getLanguage()
Get the language of specific label

Specified by:
getLanguage in interface ContextualDesignation

getRole

public String getRole()
Get the role for which this specific label is

Specified by:
getRole in interface ContextualDesignation

setContent

public void setContent(String content)
Set the content of specific label

Specified by:
setContent in interface ContextualDesignation
Parameters:
content - content of specific label

setLanguage

public void setLanguage(String language)
Set the language of specific label

Specified by:
setLanguage in interface ContextualDesignation
Parameters:
language - language of specific label

setRole

public void setRole(String role)
Set the role for which this specific label is

Specified by:
setRole in interface ContextualDesignation
Parameters:
role - role

getKey

public String getKey()
Get the unique key, used by equals method

Specified by:
getKey in interface ReferrableObjectIntf
Specified by:
getKey in class AbstractReferrableObject
Returns:
unique key
See Also:
equals, hashCode


Copyright © 2016 Silverpeas. All Rights Reserved.