FileDocCategorySizeDatePackage
AckRequestedElement.javaAPI DocExample4802Tue May 29 16:56:44 BST 2007com.sun.xml.ws.rm.protocol

AckRequestedElement

public class AckRequestedElement extends Object

Fields Summary
protected Identifier
identifier
protected BigInteger
maxMessageNumberUsed
Constructors Summary
public AckRequestedElement()

        
    
Methods Summary
public java.lang.StringgetId()

        return getIdentifier().getValue();
    
public IdentifiergetIdentifier()
Gets the value of the Identifier property.

return
The value of the property

        return identifier;
    
public longgetMaxMessageNumber()

        
        BigInteger big;
        if (null == (big = getMaxMessageNumberUsed())) {
            return 0;
        }
        return big.longValue();
    
public java.math.BigIntegergetMaxMessageNumberUsed()
Gets the value of the maxMessageNumberUsed property.

return
The value of the property.

        return maxMessageNumberUsed;
    
public javax.xml.namespace.QNamegetQName()

        return  RMBuilder.getConstants().getAckRequestedQName();
    
public voidsetId(java.lang.String id)

        Identifier idType = new Identifier();
        idType.setValue(id);
        setIdentifier(idType);
    
public voidsetIdentifier(Identifier value)
Sets the value of the identifier property.

param
value The new value.

        this.identifier = value;
    
public voidsetMaxMessageNumber(long l)

        setMaxMessageNumberUsed(BigInteger.valueOf(l));
    
public voidsetMaxMessageNumberUsed(java.math.BigInteger value)
Sets the value of the maxMessageNumberUsed property.

param
value The new value.

        this.maxMessageNumberUsed = value;
    
public java.lang.StringtoString()

        return Messages.ACKREQUESTED_TOSTRING_STRING.format(
                getId(), getMaxMessageNumber());