Class Property

    • Constructor Detail

      • Property

        public Property()
        Deprecated.
    • Method Detail

      • addRange

        public void addRange​(URI range)
        Deprecated.
      • getDefaultValueObject

        public Object getDefaultValueObject()
        Deprecated.
      • getOccurs

        @OslcAllowedValue({"http://open-services.net/ns/core#Exactly-one","http://open-services.net/ns/core#Zero-or-one","http://open-services.net/ns/core#Zero-or-many","http://open-services.net/ns/core#One-or-many"})
        @OslcDescription("MUST be either http://open-services.net/ns/core#Exactly-one, http://open-services.net/ns/core#Zero-or-one, http://open-services.net/ns/core#Zero-or-many or http://open-services.net/ns/core#One-or-many")
        @OslcOccurs(ExactlyOne)
        @OslcPropertyDefinition("http://open-services.net/ns/core#occurs")
        @OslcReadOnly
        @OslcTitle("Occurs")
        public URI getOccurs()
        Deprecated.
      • getRange

        @OslcDescription("For properties with a resource value-type, Providers MAY also specify the range of possible resource classes allowed, each specified by URI. The default range is http://open-services.net/ns/core#Any")
        @OslcPropertyDefinition("http://open-services.net/ns/core#range")
        @OslcReadOnly
        @OslcTitle("Ranges")
        public URI[] getRange()
        Deprecated.
      • getRepresentation

        @OslcAllowedValue({"http://open-services.net/ns/core#Reference","http://open-services.net/ns/core#Inline","http://open-services.net/ns/core#Either"})
        @OslcDescription("Should be http://open-services.net/ns/core#Reference, http://open-services.net/ns/core#Inline or http://open-services.net/ns/core#Either")
        @OslcPropertyDefinition("http://open-services.net/ns/core#representation")
        @OslcReadOnly
        @OslcTitle("Representation")
        public URI getRepresentation()
        Deprecated.
      • getValueShape

        @OslcDescription("if the value-type is a resource type, then Property MAY provide a shape value to indicate the Resource Shape that applies to the resource")
        @OslcPropertyDefinition("http://open-services.net/ns/core#valueShape")
        @OslcRange("http://open-services.net/ns/core#ResourceShape")
        @OslcReadOnly
        @OslcTitle("Value Shape")
        public URI getValueShape()
        Deprecated.
      • getValueType

        @OslcAllowedValue({"http://www.w3.org/2001/XMLSchema#boolean","http://www.w3.org/2001/XMLSchema#dateTime","http://www.w3.org/2001/XMLSchema#decimal","http://www.w3.org/2001/XMLSchema#double","http://www.w3.org/2001/XMLSchema#float","http://www.w3.org/2001/XMLSchema#integer","http://www.w3.org/2001/XMLSchema#string","http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral","http://open-services.net/ns/core#Resource","http://open-services.net/ns/core#LocalResource","http://open-services.net/ns/core#AnyResource"})
        @OslcDescription("See list of allowed values for oslc:valueType")
        @OslcOccurs(ExactlyOne)
        @OslcPropertyDefinition("http://open-services.net/ns/core#valueType")
        @OslcReadOnly
        @OslcTitle("Value Type")
        public URI getValueType()
        Deprecated.
      • isMemberProperty

        @OslcDescription("If set to true, this indicates that the property is a membership property, as described in the Query Syntax Specification: Member List Patterns. This is useful when the resource whose shape is being defined is viewed as a container of other resources. For example, look at the last example in Appendix B\'s RDF/XML Representation Examples: Specifying the shape of a query result, where blog:comment is defined as a membership property and comment that matches the query is returned as value of that property.")
        @OslcName("isMemberProperty")
        @OslcPropertyDefinition("http://open-services.net/ns/core#isMemberProperty")
        @OslcReadOnly
        @OslcTitle("Is Member Property")
        public Boolean isMemberProperty()
        Deprecated.
      • isReadOnly

        @OslcDescription("true if the property is read-only. If not set, or set to false, then the property is writable. Providers SHOULD declare a property read-only when changes to the value of that property will not be accepted on PUT. Consumers should note that the converse does not apply: Providers MAY reject a change to the value of a writable property.")
        @OslcPropertyDefinition("http://open-services.net/ns/core#readOnly")
        @OslcReadOnly
        @OslcTitle("Read Only")
        public Boolean isReadOnly()
        Deprecated.
      • setAllowedValuesRef

        public void setAllowedValuesRef​(URI allowedValuesRef)
        Deprecated.
      • setDefaultValue

        public void setDefaultValue​(Object defaultValue)
        Deprecated.
      • setDescription

        public void setDescription​(String description)
        Deprecated.
      • setHidden

        public void setHidden​(Boolean hidden)
        Deprecated.
      • setMaxSize

        public void setMaxSize​(Integer maxSize)
        Deprecated.
      • setMemberProperty

        public void setMemberProperty​(Boolean memberProperty)
        Deprecated.
      • setName

        public void setName​(String name)
        Deprecated.
      • setOccurs

        public void setOccurs​(Occurs occurs)
        Deprecated.
      • setOccurs

        public void setOccurs​(URI occurs)
        Deprecated.
      • setRange

        public void setRange​(URI[] ranges)
        Deprecated.
      • setReadOnly

        public void setReadOnly​(Boolean readOnly)
        Deprecated.
      • setRepresentation

        public void setRepresentation​(Representation representation)
        Deprecated.
      • setRepresentation

        public void setRepresentation​(URI representation)
        Deprecated.
      • setTitle

        public void setTitle​(String title)
        Deprecated.
      • setValueShape

        public void setValueShape​(URI valueShape)
        Deprecated.
      • setValueType

        public void setValueType​(ValueType valueType)
        Deprecated.
      • setValueType

        public void setValueType​(URI valueType)
        Deprecated.
      • getAllowedValuesCollection

        public Collection<?> getAllowedValuesCollection()
        Deprecated.
      • setAllowedValuesCollection

        public void setAllowedValuesCollection​(Collection<?> values)
        Deprecated.