Package org.apereo.cas.services
Class DefaultRegisteredServiceProperty
- java.lang.Object
-
- org.apereo.cas.services.DefaultRegisteredServiceProperty
-
- All Implemented Interfaces:
java.io.Serializable
,org.apereo.cas.services.RegisteredServiceProperty
@Embeddable public class DefaultRegisteredServiceProperty extends java.lang.Object implements org.apereo.cas.services.RegisteredServiceProperty
TheDefaultRegisteredServiceProperty
represents a single property associated with a registered service. Properties are assumed to be a set a String values.- Since:
- 4.2
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultRegisteredServiceProperty(java.lang.String... propertyValues)
DefaultRegisteredServiceProperty(java.util.Collection<java.lang.String> propertyValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addValue(java.lang.String value)
Add value.boolean
contains(java.lang.String value)
java.lang.String
getValue()
java.util.Set<java.lang.String>
getValues()
void
setValues(java.util.Set<java.lang.String> values)
Sets values.
-
-
-
Method Detail
-
getValues
public java.util.Set<java.lang.String> getValues()
- Specified by:
getValues
in interfaceorg.apereo.cas.services.RegisteredServiceProperty
-
setValues
public void setValues(java.util.Set<java.lang.String> values)
Sets values.- Parameters:
values
- the values
-
getValue
public java.lang.String getValue()
- Specified by:
getValue
in interfaceorg.apereo.cas.services.RegisteredServiceProperty
-
contains
public boolean contains(java.lang.String value)
- Specified by:
contains
in interfaceorg.apereo.cas.services.RegisteredServiceProperty
-
addValue
public void addValue(java.lang.String value)
Add value.- Parameters:
value
- the value
-
-