FileDocCategorySizeDatePackage
CoordinationContext200410.javaAPI DocExample4667Tue May 29 16:57:18 BST 2007com.sun.xml.ws.tx.coordinator

CoordinationContext200410

public class CoordinationContext200410 extends CoordinationContextBase
This class encapsulates the genertated 2004/10 version of {@link com.sun.xml.ws.tx.webservice.member.coord.CoordinationContextType}
author
Ryan.Shoemaker@Sun.COM
version
$Revision: 1.4.2.1 $
since
1.0

Fields Summary
com.sun.xml.ws.tx.webservice.member.coord.CoordinationContext
context
Constructors Summary
public CoordinationContext200410()

        context = new CoordinationContext();
    
public CoordinationContext200410(com.sun.xml.ws.tx.webservice.member.coord.CoordinationContext cc)
wrapper around JAXB generated CoordinationContext type

param
cc coordination context

        context = cc;
    
Methods Summary
public java.lang.StringgetCoordinationType()

        return context.getCoordinationType();
    
public longgetExpires()

        final Expires exp = context.getExpires();
        if (exp == null) {
            return 0L;
        } else {
            return exp.getValue();
        }
    
public java.lang.StringgetIdentifier()

        return context.getIdentifier().getValue();
    
public java.util.MapgetOtherAttributes()

        return context.getOtherAttributes();
    
public javax.xml.ws.EndpointReferencegetRegistrationService()

        return context.getRegistrationService();
    
public java.lang.ObjectgetValue()

        return context;
    
public voidsetCoordinationType(java.lang.String coordinationType)

        context.setCoordinationType(coordinationType);
    
public voidsetExpires(long expires)

        if (expires <= 0L) {
            context.setExpires(null);
        } else {
            final Expires exp = new Expires();
            exp.setValue(expires);
            context.setExpires(exp);
        }
    
public voidsetIdentifier(java.lang.String identifier)

        final Identifier id = new Identifier();
        id.setValue(identifier);
        context.setIdentifier(id);
    
public voidsetRegistrationService(javax.xml.ws.EndpointReference registrationService)

        context.setRegistrationService((MemberSubmissionEndpointReference) registrationService);