Class DefaultRegisteredServiceProperty

java.lang.Object
org.apereo.cas.services.DefaultRegisteredServiceProperty
All Implemented Interfaces:
Serializable, org.apereo.cas.services.RegisteredServiceProperty

@Embeddable public class DefaultRegisteredServiceProperty extends Object implements org.apereo.cas.services.RegisteredServiceProperty
The DefaultRegisteredServiceProperty represents a single property associated with a registered service. Properties are assumed to be a set a String values.
Since:
4.2
See Also:
  • Field Details

  • Constructor Details

    • DefaultRegisteredServiceProperty

      public DefaultRegisteredServiceProperty(String... propertyValues)
    • DefaultRegisteredServiceProperty

      public DefaultRegisteredServiceProperty(Collection<String> propertyValues)
    • DefaultRegisteredServiceProperty

      public DefaultRegisteredServiceProperty()
  • Method Details

    • getValues

      public Set<String> getValues()
      Specified by:
      getValues in interface org.apereo.cas.services.RegisteredServiceProperty
    • setValues

      public void setValues(Set<String> values)
      Sets values.
      Parameters:
      values - the values
    • value

      public String value()
      Specified by:
      value in interface org.apereo.cas.services.RegisteredServiceProperty
    • contains

      public boolean contains(String value)
      Specified by:
      contains in interface org.apereo.cas.services.RegisteredServiceProperty
    • addValue

      public void addValue(String value)
      Add value.
      Parameters:
      value - the value
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object