@OslcNamespace(value="http://open-services.net/ns/core#") @OslcResourceShape(title="OSLC Allowed Values Resource Shape", describes="http://open-services.net/ns/core#AllowedValues") public final class AllowedValues extends AbstractResource
Constructor and Description |
---|
AllowedValues() |
Modifier and Type | Method and Description |
---|---|
String[] |
getAllowedValues()
Deprecated.
Use
getValues() , which allows for values other than String |
Collection<?> |
getValues() |
void |
setAllowedValues(String[] allowedValues)
Deprecated.
Use
setValues(Collection) , which allows for values other than String |
void |
setValues(Collection<? extends Object> values) |
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
public Collection<?> getValues()
public void setValues(Collection<? extends Object> values)
@Deprecated public String[] getAllowedValues()
getValues()
, which allows for values other than String@Deprecated public void setAllowedValues(String[] allowedValues)
setValues(Collection)
, which allows for values other than StringCopyright © 2017. All rights reserved.