org.openliberty.arisid.schema
Class PredicateDef
java.lang.Object
org.openliberty.arisid.schema.PredicateDef
public class PredicateDef
- extends java.lang.Object
An PredicateDef defines a predicate used to test a boolean condition.
Examples: IsAdult, IsBusinessClassFlyer, IsRetired. This object is typically
used for defining predicates defined within an SchemaManager
object. The
Interaction
object will also reference predicate objects that are
used by the Interaction.
A predicate(aka property) is similar to an Attribute except that its returned
value is true or false (a predicate). Each property defines a name, a schema,
and other items, such as caching requirements, propagation permissions, that
an application would like to request. Note that while these are requested
items it may be conceivable that an attribute service may not be able to
provide all attributes and their usage requirements in all cases. In other
words, an attribute service my have to limit results based on an individual
user consent rule that may provide limits on a subject by subject basis.
Constructor Summary |
PredicateDef(org.w3c.dom.Node xmlAttribute)
|
PredicateDef(java.lang.String name,
java.lang.String displayName,
java.lang.String description)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
propElement
public static final java.lang.String propElement
- See Also:
- Constant Field Values
PredicateDef
public PredicateDef(org.w3c.dom.Node xmlAttribute)
PredicateDef
public PredicateDef(java.lang.String name,
java.lang.String displayName,
java.lang.String description)
appendChildren
public void appendChildren(org.w3c.dom.Node parent)
equals
public boolean equals(org.openliberty.arisid.schema.baseAttribute object)
getNameId
public java.lang.String getNameId()
getDescription
public java.lang.String getDescription()
getFriendlyName
public java.lang.String getFriendlyName()
dispose
public void dispose()