Class Consumer

    • Constructor Detail

      • Consumer

        public Consumer()
    • Method Detail

      • setIdentifier

        public void setIdentifier​(String identifier)
      • setTitle

        public void setTitle​(String title)
      • setConsumerKey

        public void setConsumerKey​(String consumerKey)
      • setConsumerSecret

        public void setConsumerSecret​(String consumerSecret)
      • setTrusted

        public void setTrusted​(Boolean trusted)
      • setProvisional

        public void setProvisional​(Boolean provisional)
      • setFunctionalUser

        public void setFunctionalUser​(Person functionalUser)
        Sets the functional user associated to this consumer.
        Parameters:
        functionalUser - the functional user associated to this consumer.
        Since:
        3.1.0
      • isReadOnly

        @OslcPropertyDefinition("http://open-services.net/ns/core#readOnly")
        @OslcName("readOnly")
        public Boolean isReadOnly()
        Gets the read-only value. A read-only consumer cannot be updated in the administration page.
        Returns:
        true if the consumer cannot be updated.
        Since:
        3.14.0
      • setReadOnly

        public void setReadOnly​(Boolean readOnly)
        Sets the read-only value. A read-only consumer cannot be updated in the administration page.
        Parameters:
        readOnly - true to prevent the consumer from being updated in the administration page.
        Since:
        3.14.0