public static interface AffordanceModel.PropertyMetadata
Modifier and Type | Method and Description |
---|---|
String |
getName()
The name of the property.
|
Optional<String> |
getPattern()
Returns the (regular expression) pattern the property has to adhere to.
|
ResolvableType |
getType()
Return the type of the property.
|
default boolean |
hasName(String name)
Whether the property has the given name.
|
boolean |
isReadOnly()
Whether the property is read only, i.e. must not be manipulated in requests modifying state.
|
boolean |
isRequired()
Whether the property is required to be submitted or always present in the representation returned.
|
String getName()
default boolean hasName(String name)
name
- must not be null or empty.boolean isRequired()
boolean isReadOnly()
Optional<String> getPattern()
ResolvableType getType()
Object
.Copyright © 2011–2020 Pivotal, Inc.. All rights reserved.