Class EnvironmentPojo
java.lang.Object
flexagon.ff.common.core.pojos.BasePOJO
flexagon.fd.model.pojos.rest.topology.EnvironmentPojo
- All Implemented Interfaces:
Serializable
This is the Pojo class for Enivronments in the REST API.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEnvironmentPojo(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 -
Method Summary
Modifier and TypeMethodDescriptionReturns this environment's descriptionReturns this environment's codeReturns this environment's idReturns this environment's nameReturns this environment's list of instances idsReturns this environment's IsActiveReturns this environment's IsBuildEnvironmentReturns this environment's sort numbervoidsetDescription(String pDescription) Sets the value of environment's descriptionvoidsetEnvironmentCode(String pEnvironmentCode) Sets the value of environment's codevoidsetEnvironmentId(Long pEnvironmentId) Sets the value of environment's IDvoidsetEnvironmentName(String pEnvironmentName) Sets the value of environment's namevoidsetInstances(List<Long> pInstances) Sets the value of environment's list of instace IDsvoidsetIsActive(Boolean pIsActive) Sets the value of environment's IsActivevoidsetIsBuildEnvironment(Boolean pIsBuildEnvironment) Sets the value of environment's IsBuildEnvironmentvoidsetSortNumber(Integer pSortNumber) Sets the value of environment's sort numbervoidvalidate()
-
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
- Throws:
FlexCheckedException
-
getSortNumber
Returns this environment's sort number- Returns:
- the environment's sort number
-
getEnvironmentId
Returns this environment's id- Returns:
- the environment's id
-
getEnvironmentName
Returns this environment's name- Returns:
- the environment's name
-
getEnvironmentCode
Returns this environment's code- Returns:
- the environment's code
-
getDescription
Returns this environment's description- Returns:
- the environment's description
-
getIsActive
Returns this environment's IsActive- Returns:
- true if environment is active
-
getIsBuildEnvironment
Returns this environment's IsBuildEnvironment- Returns:
- true if environment is build environment
-
getInstances
Returns this environment's list of instances ids- Returns:
- the environment's list of instance ids
-
setSortNumber
Sets the value of environment's sort number- Parameters:
pSortNumber-
-
setEnvironmentId
Sets the value of environment's ID- Parameters:
pEnvironmentId-
-
setEnvironmentName
Sets the value of environment's name- Parameters:
pEnvironmentName-
-
setEnvironmentCode
Sets the value of environment's code- Parameters:
pEnvironmentCode-
-
setDescription
Sets the value of environment's description- Parameters:
pDescription-
-
setIsActive
Sets the value of environment's IsActive- Parameters:
pIsActive-
-
setIsBuildEnvironment
Sets the value of environment's IsBuildEnvironment- Parameters:
pIsBuildEnvironment-
-
setInstances
Sets the value of environment's list of instace IDs- Parameters:
pInstances-
-