com.sun.identity.liberty.ws.soapbinding
Class UsageDirectiveHeader

java.lang.Object
  extended by com.sun.identity.liberty.ws.soapbinding.UsageDirectiveHeader

public class UsageDirectiveHeader
extends Object

The UsageDirectiveHeader class represents 'UsageDirective' element defined in SOAP binding schema.


Constructor Summary
UsageDirectiveHeader(String ref)
          Constructor.
 
Method Summary
 String getActor()
          Returns value of actor attribute.
 List getElements()
          Returns a list of child elements.
 String getId()
          Returns value of id attribute.
 Boolean getMustUnderstand()
          Returns value of mustUnderstand attribute.
 String getRef()
          Returns value of ref attribute.
 void setActor(String actor)
          Sets value of actor attribute.
 void setElements(List elements)
          Sets a list of child elements.
 void setMustUnderstand(Boolean mustUnderstand)
          Sets value of mustUnderstand attribute.
 void setRef(String ref)
          Sets value of ref attribute.
 void setSignFlag(boolean signFlag)
          Sets the sign flag.
 

Constructor Detail

UsageDirectiveHeader

public UsageDirectiveHeader(String ref)
                     throws SOAPBindingException
Constructor.

Parameters:
ref - the value of ref attribute.
Throws:
SOAPBindingException - if the value of ref attribute is null.
Method Detail

getRef

public String getRef()
Returns value of ref attribute.

Returns:
value of ref attribute.

getId

public String getId()
Returns value of id attribute.

Returns:
value of id attribute.

getMustUnderstand

public Boolean getMustUnderstand()
Returns value of mustUnderstand attribute.

Returns:
value of mustUnderstand attribute.

getActor

public String getActor()
Returns value of actor attribute.

Returns:
value of actor attribute.

getElements

public List getElements()
Returns a list of child elements. Each entry will be a org.w3c.dom.Element.

Returns:
a list of child elements

setRef

public void setRef(String ref)
Sets value of ref attribute.

Parameters:
ref - value of ref attribute

setMustUnderstand

public void setMustUnderstand(Boolean mustUnderstand)
Sets value of mustUnderstand attribute.

Parameters:
mustUnderstand - value of mustUnderstand attribute.

setActor

public void setActor(String actor)
Sets value of actor attribute.

Parameters:
actor - value of actor attribute.

setElements

public void setElements(List elements)
Sets a list of child elements. Each entry will be a org.w3c.dom.Element.

Parameters:
elements - a list of child elements

setSignFlag

public void setSignFlag(boolean signFlag)
Sets the sign flag. The header will be signed if the value is true.

Parameters:
signFlag - the sign flag