Package org.projecthusky.xua.saml2.impl
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
-
Field Summary
Fields inherited from class org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType
attributeValue, friendlyName, name, nameFormat
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AttributeImpl
(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType aAttribute) Default constructor to instanciate the objectprotected
AttributeImpl
(org.opensaml.saml.saml2.core.Attribute aAttribute) Default constructor to instanciate the object -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Method to get value as InstanceIdentifierMethod to get value as PurposeOfUseMethod to get value as RoleMethod to get value as Stringorg.opensaml.saml.saml2.core.Attribute
Method to get the wrapped inner object. Methode um das Innere, gewrappte object zu erhalten.boolean
Method to check if value is of type InstanceIdentifierboolean
Method to check if value is of type PurposeOfUseboolean
Method to check if value is of type Roleboolean
Method to check if value is of type StringMethods inherited from class org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType
getAttributeValue, getOtherAttributes, setFriendlyName, setName, setNameFormat
-
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
- Overrides:
getFriendlyName
in classorg.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType
- See Also:
-
getName
- Overrides:
getName
in classorg.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType
- See Also:
-
getNameFormat
- Overrides:
getNameFormat
in classorg.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType
- See Also:
-
getValueAsInstanceIdentifier
Method to get value as InstanceIdentifier- Returns:
- the InstanceIdentifier value
-
getValueAsPurposeOfUse
Method to get value as PurposeOfUse- Returns:
- teh PurposeOfUse value
-
getValueAsRole
Method to get value as Role- Returns:
- the Role value
-
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 interfaceSecurityObject<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
-