org.openliberty.xmltooling.idsis.dap
Class DAPModify

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.openliberty.xmltooling.dst2_1.RequestType
          extended by org.openliberty.xmltooling.idsis.dap.DAPModify
All Implemented Interfaces:
org.opensaml.xml.AttributeExtensibleXMLObject, org.opensaml.xml.XMLObject

public class DAPModify
extends RequestType

   <xs:complexType name="ModifyType">
     <xs:complexContent>
       <xs:extension base="dst:RequestType">
         <xs:sequence>
           <xs:element ref="dap:Subscription"  minOccurs="0" maxOccurs="unbounded"/>
           <xs:element ref="dap:ModifyItem"    minOccurs="1" maxOccurs="unbounded"/>
           <xs:element ref="dap:ResultQuery"   minOccurs="0" maxOccurs="unbounded"/>
         </xs:sequence>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 

Author:
asa

Nested Class Summary
static class DAPModify.Builder
          Internal class for the builder to simplify the class structure
static class DAPModify.Marshaller
          Marshall attributes into the DOM
static class DAPModify.Unmarshaller
          Internal class that handles unmarshalling from the DOM
 
Field Summary
static java.lang.String LOCAL_NAME
           
private  org.opensaml.xml.util.XMLObjectChildrenList<DAPModifyItem> modifyItems
           
private  org.opensaml.xml.util.XMLObjectChildrenList<DAPResultQuery> resultQueries
           
private  org.opensaml.xml.util.XMLObjectChildrenList<DAPSubscription> subscriptions
           
 
Fields inherited from class org.openliberty.xmltooling.dst2_1.RequestType
ATT_ITEM_ID
 
Constructor Summary
  DAPModify(DAPModifyItem modifyItem)
          This constructor is provided since it is required by the spec that each Modify element contain at least 1 ModifyItem, therefore, this is a convenience method
  DAPModify(java.lang.String ldifString)
          Takes an LDIF String and creates a ModifyItem that contains a NewData element with an LDIF element containing that String.
protected DAPModify(java.lang.String namespaceURI, java.lang.String elementLocalName, java.lang.String namespacePrefix)
           
 
Method Summary
 org.opensaml.xml.util.XMLObjectChildrenList<DAPModifyItem> getDAPModifyItems()
           
 org.opensaml.xml.util.XMLObjectChildrenList<DAPResultQuery> getDAPResultQueries()
           
 org.opensaml.xml.util.XMLObjectChildrenList<DAPSubscription> getDAPSubscriptions()
           
 java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()
           
 
Methods inherited from class org.openliberty.xmltooling.dst2_1.RequestType
getExtensions, getItemID, getUnknownAttributes, setItemID
 
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

subscriptions

private org.opensaml.xml.util.XMLObjectChildrenList<DAPSubscription> subscriptions

modifyItems

private org.opensaml.xml.util.XMLObjectChildrenList<DAPModifyItem> modifyItems

resultQueries

private org.opensaml.xml.util.XMLObjectChildrenList<DAPResultQuery> resultQueries
Constructor Detail

DAPModify

public DAPModify(DAPModifyItem modifyItem)
This constructor is provided since it is required by the spec that each Modify element contain at least 1 ModifyItem, therefore, this is a convenience method

Parameters:
modifyItem -

DAPModify

public DAPModify(java.lang.String ldifString)
Takes an LDIF String and creates a ModifyItem that contains a NewData element with an LDIF element containing that String. Then adds the ModifyItem to this DAPModify

Parameters:
ldifString -

DAPModify

protected DAPModify(java.lang.String namespaceURI,
                    java.lang.String elementLocalName,
                    java.lang.String namespacePrefix)
Method Detail

getDAPSubscriptions

public org.opensaml.xml.util.XMLObjectChildrenList<DAPSubscription> getDAPSubscriptions()

getDAPModifyItems

public org.opensaml.xml.util.XMLObjectChildrenList<DAPModifyItem> getDAPModifyItems()

getDAPResultQueries

public org.opensaml.xml.util.XMLObjectChildrenList<DAPResultQuery> getDAPResultQueries()

getOrderedChildren

public java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()
Specified by:
getOrderedChildren in interface org.opensaml.xml.XMLObject
Overrides:
getOrderedChildren in class RequestType