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
ConstructorsModifierConstructorDescriptionprotectedAttributeImpl(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType aAttribute) Default constructor to instanciate the objectprotectedAttributeImpl(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.AttributeMethod to get the wrapped inner object. Methode um das Innere, gewrappte object zu erhalten.booleanMethod to check if value is of type InstanceIdentifierbooleanMethod to check if value is of type PurposeOfUsebooleanMethod to check if value is of type RolebooleanMethod 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:
getFriendlyNamein classorg.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType- See Also:
-
getName
- Overrides:
getNamein classorg.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType- See Also:
-
getNameFormat
- Overrides:
getNameFormatin 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:
getWrappedObjectin 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
-