java.lang.Object
com.oracle.communications.brm.cc.model.Extension
com.oracle.communications.brm.cc.model.State
All Implemented Interfaces:
Serializable

public class State extends Extension implements 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 Details

    • stateId

      protected int stateId
      The ID of the state.
    • stateName

      protected String stateName
      The name of the state.
    • allowedTransitionStates

      protected List<Integer> 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

      public String getStateName()
      The name of the state.
      Returns:
      possible object is String
    • setStateName

      public void setStateName(String value)
      Sets the value of the stateName property.
      Parameters:
      value - allowed object is String
      See Also:
    • getAllowedTransitionStates

      public List<Integer> 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 set method 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.