public interface GenderType extends XMLObject
GenderType.
<xsd:simpleType name="GenderType">
<xsd:annotation>
<xsd:documentation>
Gender of the natural person.
</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Male"/>
<xsd:enumeration value="Female"/>
<xsd:enumeration value="Unspecified"/>
</xsd:restriction>
</xsd:simpleType>
Example:
<saml:Attribute
FriendlyName="Gender"
Name="http://eidas.europa.eu/attributes/naturalperson/Gender"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<saml:AttributeValue xsi:type="eidas:GenderType">
Female
</saml:AttributeValue>
</saml:Attribute>
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE_LOCAL_NAME
Local name of the XSI type.
|
static QName |
TYPE_NAME
QName of the XSI type.
|
| Modifier and Type | Method and Description |
|---|---|
GenderTypeEnumeration |
getGender()
Returns the gender.
|
void |
setGender(GenderTypeEnumeration gender)
Assigns the gender.
|
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocationstatic final String TYPE_LOCAL_NAME
static final QName TYPE_NAME
void setGender(GenderTypeEnumeration gender)
gender - the genderGenderTypeEnumeration getGender()
Copyright © 2018 Litsec AB. All rights reserved.