Class EnvironmentPojo

java.lang.Object
flexagon.ff.common.core.pojos.BasePOJO
flexagon.fd.model.pojos.rest.topology.EnvironmentPojo
All Implemented Interfaces:
Serializable

public class EnvironmentPojo extends BasePOJO
This is the Pojo class for Enivronments in the REST API.
See Also:
  • Constructor Details

    • EnvironmentPojo

      public EnvironmentPojo()
    • EnvironmentPojo

      public EnvironmentPojo(Integer pSortNumber, Long pEnvironmentID, String pEnvironmentName, String pEnvironmentCode, String pDescription, Boolean pIsActive, Boolean pIsBuildEnvironment, List<Long> pInstances)
      Creates an Environment using the given sort number, ID, Name, Code, Descritption, IsActive Boolean, build environment Boolean and instances
      Parameters:
      pSortNumber -
      pEnvironmentID -
      pEnvironmentName -
      pEnvironmentCode -
      pDescription -
      pIsActive -
      pIsBuildEnvironment -
      pInstances -
  • Method Details

    • validate

      public void validate() throws FlexCheckedException
      Throws:
      FlexCheckedException
    • getSortNumber

      public Integer getSortNumber()
      Returns this environment's sort number
      Returns:
      the environment's sort number
    • getEnvironmentId

      public Long getEnvironmentId()
      Returns this environment's id
      Returns:
      the environment's id
    • getEnvironmentName

      public String getEnvironmentName()
      Returns this environment's name
      Returns:
      the environment's name
    • getEnvironmentCode

      public String getEnvironmentCode()
      Returns this environment's code
      Returns:
      the environment's code
    • getDescription

      public String getDescription()
      Returns this environment's description
      Returns:
      the environment's description
    • getIsActive

      public Boolean getIsActive()
      Returns this environment's IsActive
      Returns:
      true if environment is active
    • getIsBuildEnvironment

      public Boolean getIsBuildEnvironment()
      Returns this environment's IsBuildEnvironment
      Returns:
      true if environment is build environment
    • getInstances

      public List<Long> getInstances()
      Returns this environment's list of instances ids
      Returns:
      the environment's list of instance ids
    • setSortNumber

      public void setSortNumber(Integer pSortNumber)
      Sets the value of environment's sort number
      Parameters:
      pSortNumber -
    • setEnvironmentId

      public void setEnvironmentId(Long pEnvironmentId)
      Sets the value of environment's ID
      Parameters:
      pEnvironmentId -
    • setEnvironmentName

      public void setEnvironmentName(String pEnvironmentName)
      Sets the value of environment's name
      Parameters:
      pEnvironmentName -
    • setEnvironmentCode

      public void setEnvironmentCode(String pEnvironmentCode)
      Sets the value of environment's code
      Parameters:
      pEnvironmentCode -
    • setDescription

      public void setDescription(String pDescription)
      Sets the value of environment's description
      Parameters:
      pDescription -
    • setIsActive

      public void setIsActive(Boolean pIsActive)
      Sets the value of environment's IsActive
      Parameters:
      pIsActive -
    • setIsBuildEnvironment

      public void setIsBuildEnvironment(Boolean pIsBuildEnvironment)
      Sets the value of environment's IsBuildEnvironment
      Parameters:
      pIsBuildEnvironment -
    • setInstances

      public void setInstances(List<Long> pInstances)
      Sets the value of environment's list of instace IDs
      Parameters:
      pInstances -