org.openliberty.xmltooling.utility_2_0
Class ResponseType

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.openliberty.xmltooling.utility_2_0.ResponseType
All Implemented Interfaces:
org.opensaml.xml.AttributeExtensibleXMLObject, org.opensaml.xml.XMLObject
Direct Known Subclasses:
DAPDeleteResponse, DataResponseBaseType, NotifyResponseType

public abstract class ResponseType
extends org.opensaml.xml.AbstractXMLObject
implements org.opensaml.xml.AttributeExtensibleXMLObject

lu:ResponseType

    <xs:complexType name="ResponseType">
         <xs:sequence>
             <xs:element ref="Status"       minOccurs="1" maxOccurs="1"/>
             <xs:element ref="Extension"    minOccurs="0" maxOccurs="unbounded"/>
         </xs:sequence>
         <xs:attribute ref="itemIDRef" use="optional"/>
         <xs:anyAttribute namespace="##other" processContents="lax"/>
     </xs:complexType>
 

Author:
asa

Nested Class Summary
static class ResponseType.Marshaller
          Internal marshaller, placing attribute values into the DOM
static class ResponseType.Unmarshaller
          Internal unmarshaller, placing DOM atts into the ResponseType and connecting child elements
 
Field Summary
static java.lang.String ATT_ITEM_ID_REF
           
private  org.opensaml.xml.util.XMLObjectChildrenList<Extension> extensions
           
private  java.lang.String itemIDRef
           
private  org.opensaml.xml.util.AttributeMap otherAttributes
           
private  Status status
           
 
Constructor Summary
protected ResponseType(java.lang.String namespaceURI, java.lang.String elementLocalName, java.lang.String namespacePrefix)
           
 
Method Summary
 org.opensaml.xml.util.XMLObjectChildrenList<Extension> getExtensions()
           
 java.lang.String getItemRefId()
           
 java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()
           
 Status getStatus()
          The code of the top level Status element, which this method returns, must have a value of OK, Partial or Failed.
 org.opensaml.xml.util.AttributeMap getUnknownAttributes()
           
 void setItemRefId(java.lang.String itemIDRef)
           
 void setStatus(Status status)
           
 boolean statusIsFailed()
           
 boolean statusIsOK()
           
 
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

ATT_ITEM_ID_REF

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

status

private Status status

extensions

private org.opensaml.xml.util.XMLObjectChildrenList<Extension> extensions

itemIDRef

private java.lang.String itemIDRef

otherAttributes

private org.opensaml.xml.util.AttributeMap otherAttributes
Constructor Detail

ResponseType

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

statusIsFailed

public boolean statusIsFailed()

statusIsOK

public boolean statusIsOK()

setItemRefId

public void setItemRefId(java.lang.String itemIDRef)

getItemRefId

public java.lang.String getItemRefId()

getStatus

public Status getStatus()
The code of the top level Status element, which this method returns, must have a value of OK, Partial or Failed.

Returns:

setStatus

public void setStatus(Status status)

getExtensions

public org.opensaml.xml.util.XMLObjectChildrenList<Extension> getExtensions()

getOrderedChildren

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

getUnknownAttributes

public org.opensaml.xml.util.AttributeMap getUnknownAttributes()
Specified by:
getUnknownAttributes in interface org.opensaml.xml.AttributeExtensibleXMLObject