com.ibm.ram.internal.jaxb
Class Lifecycle

java.lang.Object
  extended by com.ibm.ram.internal.jaxb.Lifecycle
All Implemented Interfaces:
java.lang.Cloneable

public class Lifecycle
extends java.lang.Object
implements java.lang.Cloneable

The configuration of the states and asset moves through.

Java class for Lifecycle complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Lifecycle">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="master" type="{http://open-services.net/xmlns/asset/1.0/}Resource" minOccurs="0"/>
         <element name="community" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link" minOccurs="0"/>
         <element name="communityLifecycle" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link" minOccurs="0"/>
         <element name="workflow" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link" minOccurs="0"/>
         <element name="selectionCondition" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Rule"/>
         <element name="stateConfiguration" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}StateConfiguration" maxOccurs="unbounded"/>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="reviewBoardMember" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Authorization" maxOccurs="unbounded" minOccurs="0"/>
         <element name="viewerCoordinates" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Coordinates" minOccurs="0"/>
         <element name="lastModified" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
       </sequence>
       <attGroup ref="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}resourceAttrs"/>
       <attribute name="identifier" type="{http://www.w3.org/2001/XMLSchema}ID" />
       <attribute name="root" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="restrictOwnerFromBoard" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String base
           
protected  Link<Community> community
           
protected  Link<Lifecycle> communityLifecycle
           
protected  CommunityScoping communityScoping
           
protected  java.lang.String description
           
protected  java.lang.String etag
           
protected  java.lang.String href
           
protected  java.lang.String identifier
           
protected  LifecycleKind kind
           
protected  java.lang.String lang
           
protected  javax.xml.datatype.XMLGregorianCalendar lastModified
           
protected  BooleanProperty managersHandlePerms
           
protected  ResourceRef master
           
protected  java.lang.String name
           
protected  BooleanProperty restrictOwnerAsManagers
           
protected  java.lang.Boolean restrictOwnerFromBoard
           
protected  java.util.Set<Authorization> reviewBoardMembers
           
protected  LifecycleScope scope
           
protected  Rule selectionCondition
           
protected  java.lang.String space
           
protected  java.util.List<StateConfiguration> stateConfigurations
           
protected  Coordinates viewerCoordinates
           
protected  Link<Workflow> workflow
           
 
Constructor Summary
Lifecycle()
          Default constructor
 
Method Summary
 Lifecycle clone()
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getBase()
          Gets the value of the base property.
 Link<Community> getCommunity()
          Gets the value of the community property.
 Link<Lifecycle> getCommunityLifecycle()
          Gets the value of the community lifecycle property.
 CommunityScoping getCommunityScoping()
           
 java.lang.String getDescription()
          Gets the value of the description property.
 java.lang.String getEtag()
          Gets the value of the etag property.
 java.lang.String getHref()
          Gets the value of the href property.
 java.lang.String getIdentifier()
          Gets the value of the identifier property.
 LifecycleKind getKind()
          Get the kind of lifecycle.
 java.lang.String getLang()
          Gets the value of the lang property.
 javax.xml.datatype.XMLGregorianCalendar getLastModified()
          Gets the value of the lastModified property.
 BooleanProperty getManagersHandlePerms()
           
 ResourceRef getMaster()
          Gets the value of the master lifecyle property.
 java.lang.String getName()
          Gets the value of the name property.
 BooleanProperty getRestrictOwnerAsManagers()
           
 java.util.Set<Authorization> getReviewBoardMembers()
          Gets the value of the reviewBoardMembers property.
 LifecycleScope getScope()
          Gets scope of the lifecycle
 Rule getSelectionCondition()
          Gets the value of the selectionCondition property.
 java.lang.String getSpace()
          Gets the value of the space property.
 java.util.List<StateConfiguration> getStateConfigurations()
          Gets the value of the stateConfigurations property.
 Coordinates getViewerCoordinates()
          Gets the value of the viewerCoordinates property.
 Link<Workflow> getWorkflow()
          Gets the value of the workflow property.
 int hashCode()
           
 boolean isRestrictOwnerFromBoard()
          Deprecated. use getRestrictOwnerAsManagers() since 7.5.1
 boolean restrictOwnerFromBoard()
          Deprecated. use getRestrictOwnerAsManagers() since 7.5.1
 void setBase(java.lang.String value)
          Sets the value of the base property.
 void setCommunity(Link<Community> value)
          Sets the value of the community property.
 void setCommunityLifecycle(Link<Lifecycle> value)
          Sets the value of the community lifecycle property.
 void setCommunityScoping(CommunityScoping communityScoping)
           
 void setDescription(java.lang.String value)
          Sets the value of the description property.
 void setEtag(java.lang.String value)
          Sets the value of the etag property.
 void setHref(java.lang.String value)
          Sets the value of the href property.
 void setIdentifier(java.lang.String value)
          Sets the value of the identifier property.
 void setKind(LifecycleKind kind)
          Set the kind of the lifecycle.
 void setLang(java.lang.String value)
          Sets the value of the lang property.
 void setLastModified(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the lastModified property.
 void setManagersHandlePerms(BooleanProperty managersHandlePerms)
           
 void setMaster(ResourceRef value)
          Sets the value of the master lifecycle property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setRestrictOwnerAsManagers(BooleanProperty restrictOwnerAsManagers)
           
 void setRestrictOwnerFromBoard(boolean value)
          Deprecated. use setRestrictOwnerAsManagers() since 7.5.1
 void setScope(LifecycleScope type)
          Sets the scope of the lifecycle
 void setSelectionCondition(Rule value)
          Sets the value of the selectionCondition property.
 void setSpace(java.lang.String value)
          Sets the value of the space property.
 void setViewerCoordinates(Coordinates value)
          Sets the value of the viewerCoordinates property.
 void setWorkflow(Link<Workflow> value)
          Sets the value of the workflow property.
 java.lang.String toString()
           
 void unsetRestrictOwnerFromBoard()
          Deprecated. use restrictOwnerAsManagers() since 7.5.1
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

scope

protected LifecycleScope scope

kind

protected LifecycleKind kind

master

protected ResourceRef master

communityScoping

protected CommunityScoping communityScoping

community

protected Link<Community> community

communityLifecycle

protected Link<Lifecycle> communityLifecycle

workflow

protected Link<Workflow> workflow

selectionCondition

protected Rule selectionCondition

stateConfigurations

protected java.util.List<StateConfiguration> stateConfigurations

description

protected java.lang.String description

reviewBoardMembers

protected java.util.Set<Authorization> reviewBoardMembers

viewerCoordinates

protected Coordinates viewerCoordinates

lastModified

protected javax.xml.datatype.XMLGregorianCalendar lastModified

identifier

protected java.lang.String identifier

restrictOwnerFromBoard

protected java.lang.Boolean restrictOwnerFromBoard

restrictOwnerAsManagers

protected BooleanProperty restrictOwnerAsManagers

managersHandlePerms

protected BooleanProperty managersHandlePerms

href

protected java.lang.String href

base

protected java.lang.String base

lang

protected java.lang.String lang

space

protected java.lang.String space

etag

protected java.lang.String etag
Constructor Detail

Lifecycle

public Lifecycle()
Default constructor

Method Detail

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getScope

public LifecycleScope getScope()
Gets scope of the lifecycle

Returns:
possible object is LifecycleScope
Since:
7.5.1

setScope

public void setScope(LifecycleScope type)
Sets the scope of the lifecycle

Parameters:
value - allowed object is LifecycleScope
Since:
7.5.1

getKind

public LifecycleKind getKind()
Get the kind of lifecycle.

Returns:
the kind.
Since:
7.5.1

setKind

public void setKind(LifecycleKind kind)
Set the kind of the lifecycle.

Parameters:
kind - the kind to set.
Since:
7.5.1

getMaster

public ResourceRef getMaster()
Gets the value of the master lifecyle property.

Returns:
possible object is Resource
Since:
7.5.1

setMaster

public void setMaster(ResourceRef value)
Sets the value of the master lifecycle property.

Parameters:
value - allowed object is Resource
Since:
7.5.1

getCommunity

public Link<Community> getCommunity()
Gets the value of the community property.

Returns:
possible object is Link

setCommunity

public void setCommunity(Link<Community> value)
Sets the value of the community property.

Parameters:
value - allowed object is Link

getCommunityLifecycle

public Link<Lifecycle> getCommunityLifecycle()
Gets the value of the community lifecycle property.

Returns:
possible object is Link

setCommunityLifecycle

public void setCommunityLifecycle(Link<Lifecycle> value)
Sets the value of the community lifecycle property.

Parameters:
value - allowed object is Link

getWorkflow

public Link<Workflow> getWorkflow()
Gets the value of the workflow property.

Returns:
possible object is Link

setWorkflow

public void setWorkflow(Link<Workflow> value)
Sets the value of the workflow property.

Parameters:
value - allowed object is Link

getSelectionCondition

public Rule getSelectionCondition()
Gets the value of the selectionCondition property.

Returns:
possible object is Rule

setSelectionCondition

public void setSelectionCondition(Rule value)
Sets the value of the selectionCondition property.

Parameters:
value - allowed object is Rule

getStateConfigurations

public java.util.List<StateConfiguration> getStateConfigurations()
Gets the value of the stateConfigurations property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the stateConfigurations property.

For example, to add a new item, do as follows:

    getStateConfigurations().add(newItem);
 

Objects of the following type(s) are allowed in the list StateConfiguration


getDescription

public java.lang.String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(java.lang.String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getReviewBoardMembers

public java.util.Set<Authorization> getReviewBoardMembers()
Gets the value of the reviewBoardMembers property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the reviewBoardMembers property.

For example, to add a new item, do as follows:

    getReviewBoardMembers().add(newItem);
 

Objects of the following type(s) are allowed in the list Authorization


getViewerCoordinates

public Coordinates getViewerCoordinates()
Gets the value of the viewerCoordinates property.

Returns:
possible object is Coordinates

setViewerCoordinates

public void setViewerCoordinates(Coordinates value)
Sets the value of the viewerCoordinates property.

Parameters:
value - allowed object is Coordinates

getLastModified

public javax.xml.datatype.XMLGregorianCalendar getLastModified()
Gets the value of the lastModified property.

Returns:
possible object is XMLGregorianCalendar

setLastModified

public void setLastModified(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the lastModified property.

Parameters:
value - allowed object is XMLGregorianCalendar

getIdentifier

public java.lang.String getIdentifier()
Gets the value of the identifier property.

Returns:
possible object is String

setIdentifier

public void setIdentifier(java.lang.String value)
Sets the value of the identifier property.

Parameters:
value - allowed object is String

getRestrictOwnerAsManagers

public BooleanProperty getRestrictOwnerAsManagers()
Returns:
Returns the restrictOwnerAsManagers.
Since:
7.5.1

setRestrictOwnerAsManagers

public void setRestrictOwnerAsManagers(BooleanProperty restrictOwnerAsManagers)
Parameters:
restrictOwnerAsManagers - The restrictOwnerAsManagers to set.
Since:
7.5.1

isRestrictOwnerFromBoard

public boolean isRestrictOwnerFromBoard()
Deprecated. use getRestrictOwnerAsManagers() since 7.5.1

Gets the value of the restrictOwnerFromBoard property.

Returns:
possible object is Boolean

setRestrictOwnerFromBoard

public void setRestrictOwnerFromBoard(boolean value)
Deprecated. use setRestrictOwnerAsManagers() since 7.5.1

Sets the value of the restrictOwnerFromBoard property.

Parameters:
value - allowed object is Boolean

restrictOwnerFromBoard

public boolean restrictOwnerFromBoard()
Deprecated. use getRestrictOwnerAsManagers() since 7.5.1

Since:
7.5.1

unsetRestrictOwnerFromBoard

public void unsetRestrictOwnerFromBoard()
Deprecated. use restrictOwnerAsManagers() since 7.5.1

Since:
7.5.1

getManagersHandlePerms

public BooleanProperty getManagersHandlePerms()
Returns:
Returns the managersHandlePerms.
Since:
7.5.1

setManagersHandlePerms

public void setManagersHandlePerms(BooleanProperty managersHandlePerms)
Parameters:
managersHandlePerms - The managersHandlePerms to set.
Since:
7.5.1

getEtag

public java.lang.String getEtag()
Gets the value of the etag property.

Returns:
possible object is String

setEtag

public void setEtag(java.lang.String value)
Sets the value of the etag property.

Parameters:
value - allowed object is String

getHref

public java.lang.String getHref()
Gets the value of the href property.

Returns:
possible object is String

setHref

public void setHref(java.lang.String value)
Sets the value of the href property.

Parameters:
value - allowed object is String

getBase

public java.lang.String getBase()
Gets the value of the base property.

Returns:
possible object is String

setBase

public void setBase(java.lang.String value)
Sets the value of the base property.

Parameters:
value - allowed object is String

getLang

public java.lang.String getLang()
Gets the value of the lang property.

Returns:
possible object is String

setLang

public void setLang(java.lang.String value)
Sets the value of the lang property.

Parameters:
value - allowed object is String

getSpace

public java.lang.String getSpace()
Gets the value of the space property.

Returns:
possible object is String

setSpace

public void setSpace(java.lang.String value)
Sets the value of the space property.

Parameters:
value - allowed object is String

getCommunityScoping

public CommunityScoping getCommunityScoping()
Returns:
Returns the communityScoping.
Since:
7.5.1

setCommunityScoping

public void setCommunityScoping(CommunityScoping communityScoping)
Parameters:
communityScoping - The communityScoping to set.
Since:
7.5.1

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

clone

public Lifecycle clone()
                throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException
Since:
7.5.1