Class AssertionBuilderImpl

java.lang.Object
org.projecthusky.xua.saml2.impl.AssertionBuilderImpl
All Implemented Interfaces:
SecurityObjectBuilder<org.opensaml.saml.saml2.core.Assertion,Assertion>, AssertionBuilder, BaseBuilder<AssertionBuilder>

public class AssertionBuilderImpl extends Object implements AssertionBuilder, SecurityObjectBuilder<org.opensaml.saml.saml2.core.Assertion,Assertion>
Class implementing the corresponding interface for Assertion building.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    addAttribute(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType attribute)
    Method to add an Attribute to the assertion to be build. Methode um ein Attribute dem Assertion hinzuzufügen.
    addCondition(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.ConditionsType condition)
    Method to add a Condition to the assertion to be build. Methode um eine Condition der Assertion hinzuzufügen.
    Creates a concrete instance of Assertion with setted params. Erstellt die konkrete Instanz des Assertion mit den gesetzten Parametern.
    create(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AssertionType aInternalObject)
    Method to create an instance of type AssertionType. Methode um eine Instanc des Typs AssertionType zu erstellen.
    create(org.opensaml.saml.saml2.core.Assertion aInternalObject)
    Method to create an instance of type T. Methode um eine Instanc des Typs T zu erstellen.
    id(String aId)
    Builds the id on the T. Bildet die ID im T.
    issueInstant(Calendar aIssueInstant)
    Builds the issueInstant on the T. Bildet den issueInstant im T.
    issuer(String aIssuer)
    Builds the Issuer element on the T. Buildet das Issuer element im T.
    version(String aVersion)
    Builds the Version on the T. Buildet die Version im T.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AssertionBuilderImpl

      public AssertionBuilderImpl()
      Default constructor.
  • Method Details

    • addAttribute

      public AssertionBuilder addAttribute(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType attribute)
      Method to add an Attribute to the assertion to be build.
      Methode um ein Attribute dem Assertion hinzuzufügen.
      Specified by:
      addAttribute in interface AssertionBuilder
      Parameters:
      attribute -
      the Attribute to be added.
      das Attribute welches hinzugefügt werden soll.
      Returns:
      the actual instance of this builder
      die aktuelle Instanz des Builders
    • addCondition

      public AssertionBuilder addCondition(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.ConditionsType condition)
      Description copied from interface: AssertionBuilder
      Method to add a Condition to the assertion to be build.
      Methode um eine Condition der Assertion hinzuzufügen.
      Specified by:
      addCondition in interface AssertionBuilder
      Parameters:
      condition -
      the Condition to be added.
      die Condition welche hinzugefügt werden soll.
      Returns:
      the actual instance of this builder
      die aktuelle Instanz des Builders
    • create

      public Assertion create()
      Creates a concrete instance of Assertion with setted params.
      Erstellt die konkrete Instanz des Assertion mit den gesetzten Parametern.
      Specified by:
      create in interface AssertionBuilder
      Returns:
      a new Assertion instance with the params set
      eine neue Assertion Instanz mit den gesetzten Parametern
      See Also:
    • create

      public Assertion create(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AssertionType aInternalObject)
      Method to create an instance of type AssertionType.
      Methode um eine Instanc des Typs AssertionType zu erstellen.
      Specified by:
      create in interface AssertionBuilder
      Parameters:
      aInternalObject -
      the internal wrapped object of type AssertionType
      das Innere, gewrappte Object vom Typ AssertionType
      Returns:
      the Object ot the type Assertion
      the instance of type Assertion
      die erstellte Instanz vom Typ Assertion
      See Also:
    • create

      public Assertion create(org.opensaml.saml.saml2.core.Assertion aInternalObject)
      Method to create an instance of type T.
      Methode um eine Instanc des Typs T zu erstellen.
      Specified by:
      create in interface SecurityObjectBuilder<org.opensaml.saml.saml2.core.Assertion,Assertion>
      Parameters:
      aInternalObject -
      the internal wrapped object of type T
      das Innere, gewrappte Object vom Typ T
      Returns:
      the Object ot the type U
      the instance of type U
      die erstellte Instanz vom Typ U
      See Also:
    • id

      public AssertionBuilder id(String aId)
      Builds the id on the T.
      Bildet die ID im T.
      Specified by:
      id in interface BaseBuilder<AssertionBuilder>
      Parameters:
      aId -
      the id string to be set
      die ID die gesetzt werden soll
      Returns:
      the actual instance of this builder
      die aktuelle Instanz des Builders
      See Also:
    • issueInstant

      public AssertionBuilder issueInstant(Calendar aIssueInstant)
      Builds the issueInstant on the T.
      Bildet den issueInstant im T.
      Specified by:
      issueInstant in interface BaseBuilder<AssertionBuilder>
      Parameters:
      aIssueInstant -
      the issueInstant to be set
      der issueInstant der gesetzt werden soll
      Returns:
      the actual instance of this builder
      die aktuelle Instanz des Builders
      See Also:
    • issuer

      public AssertionBuilder issuer(String aIssuer)
      Builds the Issuer element on the T.
      Buildet das Issuer element im T.
      Specified by:
      issuer in interface BaseBuilder<AssertionBuilder>
      Parameters:
      aIssuer -
      the issuer to be set
      der Issuer der gesetzt werden soll
      Returns:
      the actual instance of this builder
      die aktuelle Instanz des Builders
      See Also:
    • version

      public AssertionBuilder version(String aVersion)
      Builds the Version on the T.
      Buildet die Version im T.
      Specified by:
      version in interface BaseBuilder<AssertionBuilder>
      Parameters:
      aVersion -
      the issuer to be set
      der Issuer der gesetzt werden soll
      Returns:
      the actual instance of this builder
      die aktuelle Instanz des Builders
      See Also: