Class AttributeImpl

java.lang.Object
org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType
org.projecthusky.xua.saml2.impl.AttributeImpl
All Implemented Interfaces:
SecurityObject<org.opensaml.saml.saml2.core.Attribute>

public class AttributeImpl extends org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType implements SecurityObject<org.opensaml.saml.saml2.core.Attribute>
Implementation class of Attribute
Implementations Klasse von Attribute
  • Constructor Details

    • AttributeImpl

      protected AttributeImpl(org.opensaml.saml.saml2.core.Attribute aAttribute)
      Default constructor to instanciate the object
      Parameters:
      aAttribute - the opensaml instance
    • AttributeImpl

      protected AttributeImpl(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType aAttribute)
      Default constructor to instanciate the object
      Parameters:
      aAttribute - the attributetype
  • Method Details

    • getFriendlyName

      public String getFriendlyName()
      Overrides:
      getFriendlyName in class org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType
      See Also:
    • getName

      public String getName()
      Overrides:
      getName in class org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType
      See Also:
    • getNameFormat

      public String getNameFormat()
      Overrides:
      getNameFormat in class org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType
      See Also:
    • getValueAsInstanceIdentifier

      public InstanceIdentifier getValueAsInstanceIdentifier()
      Method to get value as InstanceIdentifier
      Returns:
      the InstanceIdentifier value
    • getValueAsPurposeOfUse

      public CE getValueAsPurposeOfUse()
      Method to get value as PurposeOfUse
      Returns:
      teh PurposeOfUse value
    • getValueAsRole

      public CE getValueAsRole()
      Method to get value as Role
      Returns:
      the Role value
    • getValueAsString

      public String getValueAsString()
      Method to get value as String
      Returns:
      the value as String
    • getWrappedObject

      public org.opensaml.saml.saml2.core.Attribute getWrappedObject()
      Method to get the wrapped inner object.
      Methode um das Innere, gewrappte object zu erhalten.
      Specified by:
      getWrappedObject in interface SecurityObject<org.opensaml.saml.saml2.core.Attribute>
      Returns:
      returns the wrapped inner object (depends on implementation)
      See Also:
    • isValueAInstanceIdentifier

      public boolean isValueAInstanceIdentifier()
      Method to check if value is of type InstanceIdentifier
      Returns:
      true if InstanceIdentifier
    • isValueAPurposeOfUse

      public boolean isValueAPurposeOfUse()
      Method to check if value is of type PurposeOfUse
      Returns:
      true if PurposeOfUse
    • isValueARole

      public boolean isValueARole()
      Method to check if value is of type Role
      Returns:
      true if Role
    • isValueAString

      public boolean isValueAString()
      Method to check if value is of type String
      Returns:
      true if String