Class AllowedValues
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.core.model.AbstractResource
-
- org.eclipse.lyo.oslc4j.core.model.AllowedValues
-
- All Implemented Interfaces:
IExtendedResource
,IResource
@OslcNamespace("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 Summary
Constructors Constructor Description AllowedValues()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String[]
getAllowedValues()
Deprecated.UsegetValues()
, which allows for values other than StringCollection<?>
getValues()
void
setAllowedValues(String[] allowedValues)
Deprecated.UsesetValues(Collection)
, which allows for values other than Stringvoid
setValues(Collection<? extends Object> values)
-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Method Detail
-
getValues
public Collection<?> getValues()
-
setValues
public void setValues(Collection<? extends Object> values)
-
getAllowedValues
@Deprecated public String[] getAllowedValues()
Deprecated.UsegetValues()
, which allows for values other than String
-
setAllowedValues
@Deprecated public void setAllowedValues(String[] allowedValues)
Deprecated.UsesetValues(Collection)
, which allows for values other than String
-
-