org.eclipse.lyo.oslc4j.core.model

## 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(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 Summary

    Constructors
    Constructor and Description
    `AllowedValues()`

  - ### Method Summary

    Methods
    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)`

    - ### Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource

      `addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AllowedValues

          public AllowedValues()

  - ### Method Detail

    - #### getValues

          public Collection<?> getValues()

    - #### setValues

          public void setValues(Collection<? extends Object> values)

    - #### getAllowedValues

          @Deprecated
          public String[] getAllowedValues()

      Deprecated. Use `getValues()`, which allows for values other than String

    - #### setAllowedValues

          @Deprecated
          public void setAllowedValues(String[] allowedValues)

      Deprecated. Use `setValues(Collection)`, which allows for values other than String

Copyright © 2016. All rights reserved.