public class ValidValue extends Referenceable
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
displayName |
protected String |
preferredValue |
protected String |
scope |
protected String |
usage |
additionalProperties, meanings, qualifiedNameclassifications, extendedProperties, guid, type, url| Constructor and Description |
|---|
ValidValue()
Constructor
|
ValidValue(ValidValue 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.
|
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 |
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, getMeanings, getQualifiedName, setAdditionalProperties, setMeanings, setQualifiedNamegetClassifications, getExtendedProperties, getGUID, getType, getURL, setClassifications, setExtendedProperties, setGUID, setType, setURLprotected String displayName
protected String description
protected String usage
protected String scope
protected String preferredValue
public ValidValue()
public ValidValue(ValidValue 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 String toString()
toString in class Referenceablepublic boolean equals(Object objectToCompare)
equals in class ReferenceableobjectToCompare - supplied objectpublic int hashCode()
hashCode in class ReferenceableCopyright © 2018–2020 ODPi. All rights reserved.