public final class ResourceCode extends Object implements Code
| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceCode.Builder
ResourceCode builder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(ResourceCodeValue value)
Add value to this code.
|
List<ResourceCodeValue> |
getChildValues()
Retrieve the immediate child values for this code.
|
Integer |
getMaxLength()
Retrieve the max length.
|
String |
getName()
Retrieve the project code name.
|
boolean |
getSecure()
Retrieve the secure flag.
|
Integer |
getSequenceNumber()
Retrieve the sequence number of this project code.
|
Integer |
getUniqueID()
Retrieve the project code unique ID.
|
ResourceCodeValue |
getValueByUniqueID(Integer id)
Retrieve a value by unique ID.
|
List<ResourceCodeValue> |
getValues()
Retrieve all values for this code.
|
public Integer getUniqueID()
CodegetUniqueID in interface CodegetUniqueID in interface ProjectEntityWithUniqueIDpublic Integer getSequenceNumber()
CodegetSequenceNumber in interface Codepublic String getName()
Codepublic boolean getSecure()
Codepublic Integer getMaxLength()
CodegetMaxLength in interface Codepublic List<ResourceCodeValue> getValues()
Codepublic List<ResourceCodeValue> getChildValues()
CodegetChildValues in interface Codepublic void addValue(ResourceCodeValue value)
value - new valuepublic ResourceCodeValue getValueByUniqueID(Integer id)
id - unique IDCopyright © 2000–2025 MPXJ. All rights reserved.