Class State
java.lang.Object
com.oracle.communications.brm.cc.model.Extension
com.oracle.communications.brm.cc.model.State
- All Implemented Interfaces:
Serializable
Java class for state complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="state">
<complexContent>
<extension base="{http://xmlns.oracle.com/cgbu/schemas/BusinessObjs}extension">
<sequence>
<element name="stateId" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="stateName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="allowedTransitionStates" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe list of states that a resource can transition to.protected intThe ID of the state.protected StringThe name of the state. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe list of states that a resource can transition to.intThe ID of the state.The name of the state.voidsetStateId(int value) Sets the value of the stateId property.voidsetStateName(String value) Sets the value of the stateName property.Methods inherited from class com.oracle.communications.brm.cc.model.Extension
getExtension, setExtension
-
Field Details
-
stateId
protected int stateIdThe ID of the state. -
stateName
The name of the state. -
allowedTransitionStates
The list of states that a resource can transition to.
-
-
Constructor Details
-
State
public State()
-
-
Method Details
-
getStateId
public int getStateId()The ID of the state. -
setStateId
public void setStateId(int value) Sets the value of the stateId property. -
getStateName
The name of the state.- Returns:
- possible object is
String
-
setStateName
Sets the value of the stateName property.- Parameters:
value- allowed object isString- See Also:
-
getAllowedTransitionStates
The list of states that a resource can transition to. Gets the value of the allowedTransitionStates 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
setmethod for the allowedTransitionStates property.For example, to add a new item, do as follows:
getAllowedTransitionStates().add(newItem);
Objects of the following type(s) are allowed in the list
Integer- Returns:
- The value of the allowedTransitionStates property.
-