org.opensaml.saml2.metadata.impl
Class CompanyImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.common.impl.AbstractSAMLObject
              extended by org.opensaml.saml2.metadata.impl.CompanyImpl
All Implemented Interfaces:
SAMLObject, Company, ValidatingXMLObject, XMLObject

public class CompanyImpl
extends AbstractSAMLObject
implements Company

Concrete implementation of Company.


Field Summary
private  String companyName
          Company name
 
Fields inherited from interface org.opensaml.saml2.metadata.Company
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected CompanyImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor
 
Method Summary
 String getName()
          Gets the name of the company.
 List<XMLObject> getOrderedChildren()
          
 void setName(String newName)
          Sets the name of the company.
 
Methods inherited from class org.opensaml.common.impl.AbstractSAMLObject
equals, hashCode, prepareForAssignment
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

companyName

private String companyName
Company name

Constructor Detail

CompanyImpl

protected CompanyImpl(String namespaceURI,
                      String elementLocalName,
                      String namespacePrefix)
Constructor

Parameters:
namespaceURI -
elementLocalName -
namespacePrefix -
Method Detail

getName

public String getName()
Gets the name of the company.

Specified by:
getName in interface Company
Returns:
the name of the company

setName

public void setName(String newName)
Sets the name of the company.

Specified by:
setName in interface Company
Parameters:
newName - the name of the company

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject


Copyright © 1999-2013. All Rights Reserved.