public class ValidValuesRequestBody extends ReferenceableRequestBody
additionalProperties, classifications, extendedProperties, meanings, qualifiedName, typeName| Constructor and Description |
|---|
ValidValuesRequestBody()
Default constructor
|
ValidValuesRequestBody(ValidValuesRequestBody template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
String |
getDescription()
Returns the stored description property for the valid value.
|
String |
getDisplayName()
Returns the stored display name property for the valid value.
|
boolean |
getIsDeprecated()
Is the valid value deprecated?
|
String |
getPreferredValue()
Return the preferred values to use in implementations (normally used with definitions)
|
String |
getScope()
Return the scope of values that this valid value covers (normally used with sets)
|
String |
getUsage()
Return the description of how this valid value should be used.
|
int |
hashCode()
Return has code based on properties.
|
void |
setDescription(String description)
Set up the stored description property associated with the valid value.
|
void |
setDisplayName(String displayName)
Set up the stored display name property for the valid value.
|
void |
setIsDeprecated(boolean deprecated)
Set whether the valid value is deprecated or not.
|
void |
setPreferredValue(String preferredValue)
Set up the preferred values to use in implementations (normally used with definitions)
|
void |
setScope(String scope)
Set up the scope of values that this valid value covers (normally used with sets)
|
void |
setUsage(String usage)
Set up the description of how this valid value should be used.
|
String |
toString()
Generate a string containing the properties.
|
getAdditionalProperties, getClassifications, getExtendedProperties, getMeanings, getQualifiedName, getTypeName, setAdditionalProperties, setClassifications, setExtendedProperties, setMeanings, setQualifiedName, setTypeNamepublic ValidValuesRequestBody()
public ValidValuesRequestBody(ValidValuesRequestBody template)
template - object to copypublic String getDisplayName()
public void setDisplayName(String displayName)
displayName - String namepublic String getDescription()
public void setDescription(String description)
description - String textpublic String getUsage()
public void setUsage(String usage)
usage - String textpublic String getScope()
public void setScope(String scope)
scope - String textpublic String getPreferredValue()
public void setPreferredValue(String preferredValue)
preferredValue - String valuepublic boolean getIsDeprecated()
public void setIsDeprecated(boolean deprecated)
deprecated - boolean flagpublic String toString()
toString in class ReferenceableRequestBodypublic boolean equals(Object objectToCompare)
equals in class ReferenceableRequestBodyobjectToCompare - supplied objectpublic int hashCode()
hashCode in class ReferenceableRequestBodyCopyright © 2018–2020 ODPi. All rights reserved.