|
Project Aristotle - ArisID Attribute Services | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection<E> java.util.AbstractList<E> java.util.ArrayList org.openliberty.arisidbeans.PropertyValue
public class PropertyValue
PropertyValue is used to hold property values to be added in Attribute Authority for a DigitalSubject. A PropertyValue may be either String or Binary based on the datatype of the Property in Attribute Authority.
Constructor Summary | |
---|---|
PropertyValue(java.lang.String name,
java.util.List values)
PropertyValue is initialized with attributeName and attributeValues List |
|
PropertyValue(java.lang.String name,
java.util.List values,
java.util.Locale locale)
PropertyValue is initialized with attributeName, attributeValues List and locale |
|
PropertyValue(java.lang.String name,
java.util.List values,
java.lang.String locale)
PropertyValue is initialized with attributeName, attributeValues List and locale |
|
PropertyValue(java.lang.String name,
java.lang.Object value)
PropertyValue is initialized with attributeName and attributeValue |
|
PropertyValue(java.lang.String name,
java.lang.Object value,
java.util.Locale locale)
PropertyValue is initialized with attributeName and attributeValue |
|
PropertyValue(java.lang.String name,
java.lang.Object value,
java.lang.String locale)
PropertyValue is initialized with attributeName and attributeValue |
Method Summary | |
---|---|
boolean |
compare(java.lang.String val)
Compares the supplied value with each of the Property Values and returns TRUE if the value matches |
boolean |
compareIgnoreCase(java.lang.String val)
Compares the supplied value with each of the Property Values and returns TRUE if the value matches ignoring case |
java.lang.String |
getLocale()
Returns the locale of the Property |
java.lang.String |
getName()
Returns the name of the Property |
java.util.List |
getStringValues()
Returns the Property Values converted to String. |
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Constructor Detail |
---|
public PropertyValue(java.lang.String name, java.util.List values)
name
- Property Namevalues
- List of Property valuespublic PropertyValue(java.lang.String name, java.lang.Object value)
name
- Property Namevalue
- Property Valuepublic PropertyValue(java.lang.String name, java.util.List values, java.lang.String locale)
name
- Property Namevalues
- List of Property valueslocale
- Language codepublic PropertyValue(java.lang.String name, java.util.List values, java.util.Locale locale)
name
- Property Namevalues
- List of Property valueslocale
- Locale valuepublic PropertyValue(java.lang.String name, java.lang.Object value, java.lang.String locale)
name
- Property Namevalue
- Property Valuelocale
- Language codepublic PropertyValue(java.lang.String name, java.lang.Object value, java.util.Locale locale)
name
- Property Namevalue
- Property Valuelocale
- Locale valueMethod Detail |
---|
public java.lang.String getName()
public java.lang.String getLocale()
public java.util.List getStringValues()
public boolean compare(java.lang.String val)
val
- Property Value to be compared
public boolean compareIgnoreCase(java.lang.String val)
val
- Property Value to be compared
|
OpenLiberty.org - Licensed under Apache APL 2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |