Class ProviderHeader
- java.lang.Object
-
- com.sun.identity.liberty.ws.soapbinding.ProviderHeader
-
public class ProviderHeader extends Object
TheProviderHeaderclass represents 'Provider' element defined in SOAP binding schema.
-
-
Constructor Summary
Constructors Constructor Description ProviderHeader(String providerID)This constructor takes value of 'providerID' attribute which is required.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetActor()Returns value ofactorattribute.StringgetAffiliationID()Returns value ofaffiliationIDattribute.StringgetId()Returns value ofidattribute.BooleangetMustUnderstand()Returns value ofmustUnderstandattribute.StringgetProviderID()Returns value ofproviderIDattribute.voidsetActor(String actor)Sets value ofactorattribute.voidsetAffiliationID(String affiliationID)Sets value ofaffiliationIDattribute.voidsetMustUnderstand(Boolean mustUnderstand)Sets value ofmustUnderstandattribute.voidsetProviderID(String providerID)Sets value ofproviderIDattribute if the value is not null.voidsetSignFlag(boolean signFlag)Sets the sign flag.
-
-
-
Constructor Detail
-
ProviderHeader
public ProviderHeader(String providerID) throws SOAPBindingException
This constructor takes value of 'providerID' attribute which is required.- Parameters:
providerID- value of 'providerID' attribute- Throws:
SOAPBindingException- if the providerID is null
-
-
Method Detail
-
getProviderID
public String getProviderID()
Returns value ofproviderIDattribute.- Returns:
- value of
providerIDattribute
-
getAffiliationID
public String getAffiliationID()
Returns value ofaffiliationIDattribute.- Returns:
- value of
affiliationIDattribute.
-
getId
public String getId()
Returns value ofidattribute.- Returns:
- value of
idattribute
-
getMustUnderstand
public Boolean getMustUnderstand()
Returns value ofmustUnderstandattribute.- Returns:
- value of
mustUnderstandattribute
-
getActor
public String getActor()
Returns value ofactorattribute.- Returns:
- value of
actorattribute
-
setProviderID
public void setProviderID(String providerID)
Sets value ofproviderIDattribute if the value is not null.- Parameters:
providerID- value ofproviderIDattribute
-
setAffiliationID
public void setAffiliationID(String affiliationID)
Sets value ofaffiliationIDattribute.- Parameters:
affiliationID- value ofaffiliationIDattribute.
-
setMustUnderstand
public void setMustUnderstand(Boolean mustUnderstand)
Sets value ofmustUnderstandattribute.- Parameters:
mustUnderstand- value ofmustUnderstandattribute
-
setActor
public void setActor(String actor)
Sets value ofactorattribute.- Parameters:
actor- value ofactorattribute.
-
setSignFlag
public void setSignFlag(boolean signFlag)
Sets the sign flag. The header will be signed if the value is true.- Parameters:
signFlag- the boolean value of the sign flag.
-
-