public class AttributeType extends Object implements Serializable
Specifies whether the attribute is standard or custom.
| Constructor and Description |
|---|
AttributeType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getName()
The name of the attribute.
|
String |
getValue()
The value of the attribute.
|
int |
hashCode() |
void |
setName(String name)
The name of the attribute.
|
void |
setValue(String value)
The value of the attribute.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AttributeType |
withName(String name)
The name of the attribute.
|
AttributeType |
withValue(String value)
The value of the attribute.
|
public String getName()
The name of the attribute.
Constraints:
Length: 1 - 32
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The name of the attribute.
public void setName(String name)
The name of the attribute.
Constraints:
Length: 1 - 32
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
name - The name of the attribute.
public AttributeType withName(String name)
The name of the attribute.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 32
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
name - The name of the attribute.
public String getValue()
The value of the attribute.
Constraints:
Length: - 2048
The value of the attribute.
public void setValue(String value)
The value of the attribute.
Constraints:
Length: - 2048
value - The value of the attribute.
public AttributeType withValue(String value)
The value of the attribute.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 2048
value - The value of the attribute.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.