public class FormAttributeDefinition extends Object implements Serializable
Constructor and Description |
---|
FormAttributeDefinition(String id,
DataProperty.Type type,
String name,
Serializable defaultValue,
Boolean required,
Boolean editable,
Boolean readable,
Map<String,String> values,
Set<String> valueIds,
String datePattern,
String variableName,
String expression)
It is not intended or recommended that the consumer of this API construct these objects.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDatePattern()
Gets the date pattern of the date attribute definition.
|
Serializable |
getDefaultValue()
Gets the default value of the attribute definition.
|
String |
getExpression()
Gets the expression of an attribute definition.
|
String |
getId()
Gets the identifier of the attribute definition.
|
String |
getName()
Gets the name of the attribute definition.
|
DataProperty.Type |
getType()
Gets the type of the attribute definition.
|
Set<String> |
getValueIds()
Gets the value ids of an enum attribute definition.
|
Map<String,String> |
getValues()
Gets the values of an enum attribute definition.
|
String |
getVariableName()
Gets the variable of an attribute definition.
|
int |
hashCode() |
Boolean |
isEditable()
Gets whether the attribute is an editable attribute.
|
Boolean |
isReadable()
Gets whether the attribute is a readable attribute.
|
Boolean |
isRequired()
Gets whether the attribute is a required attribute.
|
String |
toString() |
public FormAttributeDefinition(String id, DataProperty.Type type, String name, Serializable defaultValue, Boolean required, Boolean editable, Boolean readable, Map<String,String> values, Set<String> valueIds, String datePattern, String variableName, String expression)
id
- The identifier of the attribute definition.type
- The type of the attribute definition.name
- The name of the attribute definition.defaultValue
- The default value of the attribute definition.required
- Whether the attribute is a required attribute.editable
- Whether the attribute is an editable attribute.readable
- Whether the attribute is a readable attribute.values
- The values of an enum attribute definition.valueIds
- The value ids of an enum attribute definition.datePattern
- The date pattern of the attribute definition.variableName
- The variable name of the attribute definition.expression
- The expression of the attribute definition.public String getId()
public DataProperty.Type getType()
public Serializable getDefaultValue()
public Boolean isRequired()
public Boolean isReadable()
public String getName()
public Boolean isEditable()
public Map<String,String> getValues()
public String getDatePattern()
public String getVariableName()
public String getExpression()
public Set<String> getValueIds()
<i>Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA</i>