pl.edu.icm.unity.saml.xmlbeans.ecp.impl.RelayStateDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: RelayState
* Namespace: urn:oasis:names:tc:SAML:2.0:profiles:SSO:ecp
* Java type: pl.edu.icm.unity.saml.xmlbeans.ecp.RelayStateDocument
*
* Automatically generated - do not modify.
*/
package pl.edu.icm.unity.saml.xmlbeans.ecp.impl;
/**
* A document containing one RelayState(@urn:oasis:names:tc:SAML:2.0:profiles:SSO:ecp) element.
*
* This is a complex type.
*/
public class RelayStateDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements pl.edu.icm.unity.saml.xmlbeans.ecp.RelayStateDocument
{
private static final long serialVersionUID = 1L;
public RelayStateDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName RELAYSTATE$0 =
new javax.xml.namespace.QName("urn:oasis:names:tc:SAML:2.0:profiles:SSO:ecp", "RelayState");
/**
* Gets the "RelayState" element
*/
public pl.edu.icm.unity.saml.xmlbeans.ecp.RelayStateType getRelayState()
{
synchronized (monitor())
{
check_orphaned();
pl.edu.icm.unity.saml.xmlbeans.ecp.RelayStateType target = null;
target = (pl.edu.icm.unity.saml.xmlbeans.ecp.RelayStateType)get_store().find_element_user(RELAYSTATE$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "RelayState" element
*/
public void setRelayState(pl.edu.icm.unity.saml.xmlbeans.ecp.RelayStateType relayState)
{
synchronized (monitor())
{
check_orphaned();
pl.edu.icm.unity.saml.xmlbeans.ecp.RelayStateType target = null;
target = (pl.edu.icm.unity.saml.xmlbeans.ecp.RelayStateType)get_store().find_element_user(RELAYSTATE$0, 0);
if (target == null)
{
target = (pl.edu.icm.unity.saml.xmlbeans.ecp.RelayStateType)get_store().add_element_user(RELAYSTATE$0);
}
target.set(relayState);
}
}
/**
* Appends and returns a new empty "RelayState" element
*/
public pl.edu.icm.unity.saml.xmlbeans.ecp.RelayStateType addNewRelayState()
{
synchronized (monitor())
{
check_orphaned();
pl.edu.icm.unity.saml.xmlbeans.ecp.RelayStateType target = null;
target = (pl.edu.icm.unity.saml.xmlbeans.ecp.RelayStateType)get_store().add_element_user(RELAYSTATE$0);
return target;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy