/**
* 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: IDPPMsgContact.java,v 1.3 2008/06/25 05:47:16 qcheng Exp $
*
*/
/**
* This class <code>IDPPMsgContact</code> is an implementation of
* <code>IDPPContainer</code>.
*/
/**
* Constructor
*/
public IDPPMsgContact() {
}
/**
* Gets the common name jaxb element
* @param userMap user map
* @return InformalNameElement JAXB Object.
* @exception IDPPException.
*/
try {
throw new IDPPException(
}
}
}
return ppType;
} catch (JAXBException je) {
"IDPPMsgContact:getContainerObject: JAXB failure", je);
throw new IDPPException(
}
}
/**
* Parses the entry to MsgContactElement JAXB Obect.
* @param entry MsgContact Entry
* @userMap UserData Map.
* @return MsgContactElement.
* @exception JAXBException.
*/
throws JAXBException {
return null;
}
" Entry " + entry);
}
return null;
}
while(st.hasMoreTokens()) {
continue;
}
continue;
}
} else {
}
continue;
}
}
}
return mse;
}
/**
* Gets required common name container attributes.
* @return Set set of required container attributes
*/
return getMapperAttributeSet(set);
}
/**
* Gets the container attributes for a given select expression.
* @param select Select expression.
* @return Set set of required user attributes.
*/
return getContainerAttributes();
}
/**
* modified.
* @param select Select expression.
* @param data list of new data objects.
* @return Attribute key value pair for the given select.
* @throws IDPPException.
*/
throws IDPPException {
throw new IDPPException(
}
"MsgContact filter: " + filter);
}
}
if(dataElement instanceof MsgContactElement) {
} else {
throw new IDPPException(
}
}
}
return null;
}
/**
* Gets the data map from the requested data element.
* @param mse Message contact element
* @param filter filter string
* @return data map
*/
if(existingSet.isEmpty()) {
} else {
continue;
}
} else {
}
}
}
return map;
}
/**
* Gets the existing message contacts.
* @return message contacts
*/
try {
} catch (IDPPException ie) {
"while trying to get existing msg contacts.", ie);
return new HashSet();
}
}
/**
* Modifies the existing entry.
*/
}
}
}
}
}
}
}
}
}
}
/**
* Gets the MsgContact filter from a given a select expression.
* @param select Select expression
* @return message contact filter
*/
" Expression = " + select);
}
if(index1 == -1) {
return null;
}
if(index2 == -1) {
return null;
}
}
/**
* Checks if there are any binary attributes.
*/
public boolean hasBinaryAttributes() {
return false;
}
}