/*
* 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: CorrelationHeader.java,v 1.3 2008/06/25 05:47:22 qcheng Exp $
*
* Portions Copyrighted 2016 ForgeRock AS.
*/
/**
* The <code>CorrelationHeader</code> class represents <code>Correlation</code>
* element defined in SOAP binding schema. The <code>messageID</code> is a
* required attribute and will be generated automatically when a constructor
* is called.
*
* @supported.all.api
*/
public class CorrelationHeader {
/**
* Default Construtor
*/
public CorrelationHeader() {
}
/**
* This constructor takes a <code>org.w3c.dom.Element</code>.
*
* @param correlationElement a Correlation element
* @throws SOAPBindingException if an error occurs while parsing
* the Correlation element
*/
throw new SOAPBindingException(msg);
}
try {
throw new SOAPBindingException(msg);
}
}
throw new SOAPBindingException(msg);
}
try {
} catch (ParseException pe) {
throw new SOAPBindingException(msg);
}
}
/**
* Returns value of <code>messageID</code> attribute.
*
* @return value of <code>messageID</code> attribute
*/
return messageID;
}
/**
* Returns value of <code>refToMessageID</code> attribute.
*
* @return value of <code>refToMessageID</code> attribute
*/
return refToMessageID;
}
/**
* Returns value of <code>timestamp</code> attribute.
*
* @return value of <code>timestamp</code> attribute
*/
return timestamp;
}
/**
* Returns value of <code>id</code> attribute.
*
* @return value of <code>id</code> attribute
*/
return messageID;
}
/**
* Returns value of <code>mustUnderstand</code> attribute.
*
* @return value of <code>mustUnderstand</code> attribute
*/
return mustUnderstand;
}
/**
* Returns value of <code>actor</code> attribute.
*
* @return value of <code>actor</code> attribute
*/
return actor;
}
/**
* Sets value of <code>mustUnderstand</code> attribute.
*
* @param mustUnderstand value of <code>mustUnderstand</code> attribute
*/
this.mustUnderstand = mustUnderstand;
}
/**
* Sets value of <code>actor</code> attribute.
*
* @param actor value of <code>actor</code> attribute
*/
}
/**
* Sets value of <code>refToMessageID</code> attribute.
*
* @param refToMessageID value of <code>refToMessageID</code> attribute
*
*/
this.refToMessageID = refToMessageID;
}
/**
* Converts this header to <code>org.w3c.dom.Element</code> and add to
* parent Header Element.
*
* @param headerE parent Header Element
*/
if (refToMessageID != null) {
}
if (mustUnderstand != null) {
}
actor);
}
}
}