com.sun.xml.ws.tx.coordinator
Class CoordinationContext200603

java.lang.Object
  extended by com.sun.xml.ws.tx.coordinator.CoordinationContextBase
      extended by com.sun.xml.ws.tx.coordinator.CoordinationContext200603
All Implemented Interfaces:
CoordinationContextInterface

public class CoordinationContext200603
extends CoordinationContextBase

This class encapsulates the genertated 2006/03 version of CoordinationContextType

Just a placeholder for future implementation work...

Since:
1.0

Constructor Summary
CoordinationContext200603()
           
 
Method Summary
 java.lang.String getCoordinationType()
          Gets the value of the coordinationType property.
 long getExpires()
          Gets the value of the expires property in milliseconds.
 java.lang.String getIdentifier()
          Gets the value of the identifier property.
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
          Gets the underlying map that contains attributes that aren't bound to any typed property.
 javax.xml.ws.EndpointReference getRegistrationService()
          Gets the value of the registrationService property.
 java.lang.Object getValue()
          Return the underlying JAXB generated coordination context type.
 void setCoordinationType(java.lang.String coordinationType)
          Sets the value of the coordinationType property.
 void setExpires(long expires)
          Sets the value of the expires property in milliseconds.
 void setIdentifier(java.lang.String identifier)
          Sets the value of the identifier property.
 void setRegistrationService(javax.xml.ws.EndpointReference registrationService)
          Sets the value of the registrationService property.
 
Methods inherited from class com.sun.xml.ws.tx.coordinator.CoordinationContextBase
createCoordinationContext, getRootRegistrationService, setRootCoordinatorRegistrationService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoordinationContext200603

public CoordinationContext200603()
Method Detail

getIdentifier

public java.lang.String getIdentifier()
Description copied from interface: CoordinationContextInterface
Gets the value of the identifier property.

Returns:
the identifier value

setIdentifier

public void setIdentifier(java.lang.String identifier)
Description copied from interface: CoordinationContextInterface
Sets the value of the identifier property.

Parameters:
identifier - the identifier value

getExpires

public long getExpires()
Description copied from interface: CoordinationContextInterface
Gets the value of the expires property in milliseconds.

Returns:
the value of the expires property in milliseconds

setExpires

public void setExpires(long expires)
Description copied from interface: CoordinationContextInterface
Sets the value of the expires property in milliseconds.

The expires value can not be negative. Calling setExpires(0L) unsets the underlying Expires element in the CoordinationContext.

Parameters:
expires - the expires value in milliseconds

getCoordinationType

public java.lang.String getCoordinationType()
Description copied from interface: CoordinationContextInterface
Gets the value of the coordinationType property.

Returns:
the value of the coordinationType

setCoordinationType

public void setCoordinationType(java.lang.String coordinationType)
Description copied from interface: CoordinationContextInterface
Sets the value of the coordinationType property.

Parameters:
coordinationType - either Constants.WSAT_2004_PROTOCOL or Constants.WSAT_OASIS_NSURI

getRegistrationService

public javax.xml.ws.EndpointReference getRegistrationService()
Description copied from interface: CoordinationContextInterface
Gets the value of the registrationService property.

Returns:
the EndpointReference of the registration service

setRegistrationService

public void setRegistrationService(javax.xml.ws.EndpointReference registrationService)
Description copied from interface: CoordinationContextInterface
Sets the value of the registrationService property.

Parameters:
registrationService - the EndpointReference of the registration service

getValue

public java.lang.Object getValue()
Description copied from interface: CoordinationContextInterface
Return the underlying JAXB generated coordination context type.

This will either be a (@link com.sun.xml.ws.tx.webservice.member.coord.CoordinationContext} or a OASIS CoordinationContext.

Returns:
Return the underlying JAXB generated coordination context type

getOtherAttributes

public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
Description copied from interface: CoordinationContextInterface
Gets the underlying map that contains attributes that aren't bound to any typed property.

the map is keyed by the name of the attribute and the value is the string value of the attribute.

the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

Returns:
always non-null