public final class Parameter extends AbstractDataTransferObject implements ParameterContract
ParameterContract
.
To construct an instance of a Parameter, use the Parameter.Builder
class.
ParameterContract
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
Parameter.Builder
This builder constructs an Parameter enforcing the constraints of the
ParameterContract . |
static class |
Parameter.Cache |
Modifier and Type | Method and Description |
---|---|
String |
getApplicationId()
This is the application id for the Parameter.
|
String |
getComponentCode()
This is the component code for the parameter.
|
String |
getDescription()
This is the description for what the parameter is used for.
|
EvaluationOperator |
getEvaluationOperator()
This is the evaluation operator for the parameter.
|
String |
getName()
The name of the parameter.
|
String |
getNamespaceCode()
This is the namespace for the parameter.
|
String |
getObjectId()
Return the globally unique object id of this object.
|
ParameterKey |
getParameterKey() |
ParameterType |
getParameterType()
This is the type for the parameter.
|
String |
getValue()
The value of the parameter.
|
Long |
getVersionNumber()
Returns the version number for this object.
|
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
public String getApplicationId()
ParameterContract
It is a way of assigning the Parameter to a specific rice application or rice ecosystem.
getApplicationId
in interface ParameterContract
public String getNamespaceCode()
ParameterContract
It is a way of assigning the parameter to a logical grouping within a rice application or rice ecosystem.
getNamespaceCode
in interface ParameterContract
public String getComponentCode()
ParameterContract
It is a way of assigning a parameter to a functional component within a rice application or rice ecosystem.
getComponentCode
in interface ParameterContract
public String getName()
ParameterContract
getName
in interface ParameterContract
public String getValue()
ParameterContract
getValue
in interface ParameterContract
public String getDescription()
ParameterContract
getDescription
in interface ParameterContract
public ParameterType getParameterType()
ParameterContract
Some parameters have special types in rice which may have special meaning
and is related to the ParameterContract.getEvaluationOperator()
getParameterType
in interface ParameterContract
public EvaluationOperator getEvaluationOperator()
ParameterContract
This allows parameters to be used as primitive business rules.
getEvaluationOperator
in interface ParameterContract
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public String getObjectId()
GloballyUnique
getObjectId
in interface GloballyUnique
public ParameterKey getParameterKey()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.