/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2006 Sun Microsystems Inc. All Rights Reserved
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at opensso/legal/CDDLv1.0.txt.
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* $Id: DSTModifyResponse.java,v 1.2 2008/06/25 05:47:13 qcheng Exp $
*
*/
/**
* The <code>DSTModifyResponse</code> class represents a <code>DST</code>
* response for <code>DST</code> modify request.
*
* The following schema fragment specifies the expected content within the
* <code>DSTModifyResponse</code> object.
* <pre>
* <complexType name="ResponseType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:liberty:idpp:2003-08}Status"/>
* <element ref="{urn:liberty:idpp:2003-08}Extension"
* maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="timeStamp"
* type="{http://www.w3.org/2001/XMLSchema}dateTime" />
* <attribute name="itemIDRef"
* type="{urn:liberty:idpp:2003-08}IDReferenceType" />
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
* @supported.all.api
*/
public class DSTModifyResponse {
/**
* Default constructor
*/
public DSTModifyResponse () {}
/**
* Constructor
* @param element <code>DOM</code> Element.
* @throws DSTException
*/
}
"element name");
}
if(nameSpaceURI == null) {
" is not defined");
}
try {
} catch(ParseException ex) {
"DSTModifyResponse(element): can not parse the date", ex);
}
}
"not have status element.");
}
continue;
}
} else {
"have invalid element.");
throw new DSTException(
}
}
"not have status element.");
}
}
/**
* Gets response status
* @return Status
*/
return status;
}
/**
* Sets response status
* @param status response status to be set
*/
}
/**
* Gets time stamp
* @return Date for the time stamp
*/
return timeStamp;
}
/**
* Sets time stamp
* @param date time stamp date to be set
*/
}
/**
* Gets id attribute
* @return String id attribute value
*/
return id;
}
/**
* Sets id attribute
* @param id value of id attribute to be set
*/
}
/**
* Gets item id reference
* @return item id reference
*/
return itemIDRef;
}
/**
* Sets item id reference
* @param value item id reference to be set
*/
}
/**
* Gets the extension property.
* @return List of Object
*
*/
return extension;
}
/**
* Gets the name space.
*
* @return name space.
*/
return nameSpaceURI;
}
/**
* Sets the name space.
* @param nameSpace Name space URI String
*/
this.nameSpaceURI = nameSpace;
}
/**
* Sets the name space prefix.
* @param prefix Name space prefix.
*/
}
/**
* Gets the name space prefix.
* @return Name space prefix.
*/
return prefix;
}
/**
* Creates a String representation of this object.
* By default name space name is prepended to the element name
* @return String A string containing the valid XML for this element
*/
return toString(true, false);
}
/**
* Creates a String representation of this object.
* @param includeNS if true prepends all elements by their name space
* prefix.
* @param declareNS if true includes the name space within the generated.
* @return A string containing the valid XML for this element
*/
if(includeNS) {
}
}
if(declareNS) {
if(nameSpaceURI == null) {
" not defined");
return "";
}
}
}
}
.append("\"");
}
if(declareNS) {
}
}
}