org.openliberty.xmltooling.idsis.dap
Class DAPSelect

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.signature.AbstractSignableXMLObject
          extended by org.openliberty.xmltooling.idsis.dap.DAPSelect
All Implemented Interfaces:
org.opensaml.xml.signature.SignableXMLObject, org.opensaml.xml.XMLObject

public class DAPSelect
extends org.opensaml.xml.signature.AbstractSignableXMLObject

The ID-DAP Select differs from the DST 2.1 Reference Implementation in that it contains the elements "dn" and "filter" and a set of attributes.

Both the "dn" element and the "filter" element are optional. If "dn" is omitted the WSP will figure out the dn (distinguished name) from the identity information provided.

If <Select> is used in <DeleteItem> or <ModifyItem> relating to objectType "entry," <Filter> element MUST NOT be specified and NONE of the XML attributes MUST be specified.

unmarshaller: DAPSelect$DAPSelectUnmarshaller DAPSelectUnmarshaller
marshaller: DAPSelect$DAPSelectMarshaller DAPSelectMarshaller
builder: DAPSelect$DAPSelectBuilder DAPSelectBuilder

Author:
asa

Nested Class Summary
static class DAPSelect.Builder
          This is the java-xmltooling Builder class for DAPSelect
static class DAPSelect.Marshaller
          Internal Marshaller class primarily to marshall attributes.
static class DAPSelect.Unmarshaller
          Internal class that handles unmarshalling specific to DAPSelect
 
Field Summary
static java.lang.String ATT_ATTRIBUTES
           
static java.lang.String ATT_DEREFALIASES
           
static java.lang.String ATT_SCOPE
           
static java.lang.String ATT_SIZELIMIT
           
static java.lang.String ATT_TIMELIMIT
           
static java.lang.String ATT_TYPESONLY
           
private  java.lang.String attributes
           
private  java.lang.Integer derefaliases
           
private  DN dn
           
private  Filter filter
           
static java.lang.String LOCAL_NAME
           
private  java.lang.Integer scope
           
private  java.lang.Integer sizelimit
           
private  java.lang.Integer timelimit
           
private  java.lang.Boolean typesonly
           
 
Constructor Summary
DAPSelect()
           
DAPSelect(java.lang.String namespaceURI, java.lang.String elementLocalName, java.lang.String namespacePrefix)
           
 
Method Summary
 java.lang.String getAttributes()
           
 java.lang.Integer getDerefaliases()
           
 DN getDn()
           
 Filter getFilter()
           
 java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()
           
 java.lang.Integer getScope()
           
 java.lang.Integer getSizeLimit()
           
 java.lang.Integer getTimelimit()
           
 java.lang.Boolean getTypesonly()
           
 void setAttributes(java.lang.String attributes)
          If objectType is "entry" The attributes single-valued XML attribute is converted to an AttributeDescriptionList by splitting the string on comma characters and forming an AttributeDescription from each resulting substring.
 void setDerefaliases(java.lang.Integer derefaliases)
           
 void setDn(DN dn)
           
 void setDn(java.lang.String dnString)
          Convenience method for setting the DN
 void setFilter(Filter filter)
           
 void setFilter(java.lang.String filterString)
          Convenience method for setting the Filter
 void setScope(java.lang.Integer scope)
          optional attribute, default of 0
 void setSizelimit(java.lang.Integer sizelimit)
           
 void setTimelimit(java.lang.Integer timelimit)
           
 void setTypesonly(java.lang.Boolean typesonly)
           
 
Methods inherited from class org.opensaml.xml.signature.AbstractSignableXMLObject
getSignature, isSigned, setSignature
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

LOCAL_NAME

public static java.lang.String LOCAL_NAME

dn

private DN dn

filter

private Filter filter

sizelimit

private java.lang.Integer sizelimit

timelimit

private java.lang.Integer timelimit

typesonly

private java.lang.Boolean typesonly

scope

private java.lang.Integer scope

derefaliases

private java.lang.Integer derefaliases

attributes

private java.lang.String attributes

ATT_SCOPE

public static final java.lang.String ATT_SCOPE
See Also:
Constant Field Values

ATT_SIZELIMIT

public static final java.lang.String ATT_SIZELIMIT
See Also:
Constant Field Values

ATT_TIMELIMIT

public static final java.lang.String ATT_TIMELIMIT
See Also:
Constant Field Values

ATT_ATTRIBUTES

public static final java.lang.String ATT_ATTRIBUTES
See Also:
Constant Field Values

ATT_TYPESONLY

public static final java.lang.String ATT_TYPESONLY
See Also:
Constant Field Values

ATT_DEREFALIASES

public static final java.lang.String ATT_DEREFALIASES
See Also:
Constant Field Values
Constructor Detail

DAPSelect

public DAPSelect()

DAPSelect

public DAPSelect(java.lang.String namespaceURI,
                 java.lang.String elementLocalName,
                 java.lang.String namespacePrefix)
Method Detail

setTypesonly

public void setTypesonly(java.lang.Boolean typesonly)

getTypesonly

public java.lang.Boolean getTypesonly()

setSizelimit

public void setSizelimit(java.lang.Integer sizelimit)

getSizeLimit

public java.lang.Integer getSizeLimit()

setTimelimit

public void setTimelimit(java.lang.Integer timelimit)

getTimelimit

public java.lang.Integer getTimelimit()

setAttributes

public void setAttributes(java.lang.String attributes)
If objectType is "entry" The attributes single-valued XML attribute is converted to an AttributeDescriptionList by splitting the string on comma characters and forming an AttributeDescription from each resulting substring.

Parameters:
attributes -

getAttributes

public java.lang.String getAttributes()

setScope

public void setScope(java.lang.Integer scope)
optional attribute, default of 0

Parameters:
scope -

getScope

public java.lang.Integer getScope()

setDerefaliases

public void setDerefaliases(java.lang.Integer derefaliases)

getDerefaliases

public java.lang.Integer getDerefaliases()

getDn

public DN getDn()

setDn

public void setDn(DN dn)

setDn

public void setDn(java.lang.String dnString)
Convenience method for setting the DN

Parameters:
dnString -

getFilter

public Filter getFilter()

setFilter

public void setFilter(Filter filter)

setFilter

public void setFilter(java.lang.String filterString)
Convenience method for setting the Filter

Parameters:
dnString -

getOrderedChildren

public java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()