public class DataProperty extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
DataProperty.Type
The property types.
|
Constructor and Description |
---|
DataProperty(String id,
String name,
DataProperty.Type type,
Serializable value)
It is not intended or recommended that the consumer of the API construct these objects.
|
DataProperty(String id,
String name,
DataProperty.Type type,
Serializable value,
Map<String,String> values,
String datePattern)
It is not intended or recommended that the consumer of the API construct these objects.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
String |
getDatePattern()
Gets the date pattern of the data property as defined in the process flow definition.
|
String |
getId()
Gets the identifier of the data property as defined in the process flow definition.
|
String |
getName()
Gets the name of the data property as defined in the process flow definition.
|
DataProperty.Type |
getType()
Gets the type of the data property as defined in the process flow definition.
|
Serializable |
getValue()
Gets the value of the data property.
|
Map<String,String> |
getValues()
Gets the values of the data property as defined in the process flow definition.
|
int |
hashCode()
Returns a hash code value for the object.
|
void |
setValue(Serializable value)
Sets the value of the data property.
|
String |
toString() |
public DataProperty(String id, String name, DataProperty.Type type, Serializable value, Map<String,String> values, String datePattern)
DataProperty
objects from the API.id
- The identifier of the data property.name
- The name of the data property.type
- The type of the data property.value
- The value of the data property.values
- The values of the data property. This is returned only from ENUM property types because it is the
only type that has multiple values for selection.datePattern
- The date pattern of the data property.public DataProperty(String id, String name, DataProperty.Type type, Serializable value)
DataProperty
objects from the API.id
- The identifier of the data property.name
- The name of the data property.type
- The type of the data property.value
- The value of the data property.public String getDatePattern()
public Map<String,String> getValues()
public String getId()
public String getName()
public Serializable getValue()
public void setValue(Serializable value)
value
- The value of the data property.public DataProperty.Type getType()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
<i>Copyright (c) 2022, SAS Institute Inc., Cary, NC, USA</i>