public class TypeReference extends ObjectPrinter
| Constructor and Description |
|---|
TypeReference() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare) |
String |
getName()
Retrieve the name of this data type / reference.
|
String |
getUrl()
Retrieve the URL to more details about this type reference.
|
List<ValidValue> |
getValidValues()
Retrieve the list of valid values for an enumeration.
|
int |
hashCode() |
void |
setName(String name)
Set the name of this data type / reference.
|
void |
setUrl(String url)
Set the URL to more details about this type reference.
|
void |
setValidValues(List<ValidValue> validValues)
Set the list of valid values for an enumeration.
|
toStringpublic String getName()
public void setName(String name)
name - name of the data type / referencepublic String getUrl()
public void setUrl(String url)
url - the URL to more details about this type referencepublic List<ValidValue> getValidValues()
enum.List<ValidValues>public void setValidValues(List<ValidValue> validValues)
validValues - the list of valid values for an enumerationCopyright © 2018–2021 ODPi. All rights reserved.