net.geant.edugain.meta.metadata.onlineca
Class OnlineCAServiceImpl

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 net.geant.edugain.meta.metadata.onlineca.OnlineCAServiceImpl
All Implemented Interfaces:
OnlineCAService, org.opensaml.common.SAMLObject, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject

public class OnlineCAServiceImpl
extends org.opensaml.common.impl.AbstractSAMLObject
implements OnlineCAService

Concrete implementation of OnlineCAService.


Field Summary
private  org.opensaml.saml2.metadata.ServiceDescription description
          Service description attribute
private  java.lang.String location
          Service location URI
private  org.opensaml.saml2.metadata.ServiceName name
          Service name attribute
 
Fields inherited from interface net.geant.edugain.meta.metadata.onlineca.OnlineCAService
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, DESCR_ATTRIB_NAME, LOCATION_ATTRIB_NAME, NAME_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected OnlineCAServiceImpl(java.lang.String namespaceURI, java.lang.String elementLocalName, java.lang.String namespacePrefix)
          Constructor
 
Method Summary
 org.opensaml.saml2.metadata.ServiceDescription getDescription()
          Gets the description for this service.
 java.lang.String getLocation()
          Gets the URI, usually a URL, for the location of this Endpoint.
 org.opensaml.saml2.metadata.ServiceName getName()
          Gets the name of this service.
 java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()
           
 void setDescription(org.opensaml.saml2.metadata.ServiceDescription descr)
          Sets the description for this service.
 void setLocation(java.lang.String location)
          Sets the URI, usually a URL, for the location of this Endpoint.
 void setName(org.opensaml.saml2.metadata.ServiceName name)
          Sets the name of this service.
 
Methods inherited from class org.opensaml.common.impl.AbstractSAMLObject
equals, 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, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, 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, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

name

private org.opensaml.saml2.metadata.ServiceName name
Service name attribute


description

private org.opensaml.saml2.metadata.ServiceDescription description
Service description attribute


location

private java.lang.String location
Service location URI

Constructor Detail

OnlineCAServiceImpl

protected OnlineCAServiceImpl(java.lang.String namespaceURI,
                              java.lang.String elementLocalName,
                              java.lang.String namespacePrefix)
Constructor

Parameters:
namespaceURI -
elementLocalName -
namespacePrefix -
Method Detail

getName

public org.opensaml.saml2.metadata.ServiceName getName()
Gets the name of this service.

Specified by:
getName in interface OnlineCAService
Returns:
service name

setName

public void setName(org.opensaml.saml2.metadata.ServiceName name)
Sets the name of this service.

Specified by:
setName in interface OnlineCAService
Parameters:
name - the name of this service

getDescription

public org.opensaml.saml2.metadata.ServiceDescription getDescription()
Gets the description for this service.

Specified by:
getDescription in interface OnlineCAService
Returns:
service description

setDescription

public void setDescription(org.opensaml.saml2.metadata.ServiceDescription descr)
Sets the description for this service.

Specified by:
setDescription in interface OnlineCAService
Parameters:
descr - the description of this service

getLocation

public java.lang.String getLocation()
Gets the URI, usually a URL, for the location of this Endpoint.

Specified by:
getLocation in interface OnlineCAService
Returns:
the location of this Endpoint

setLocation

public void setLocation(java.lang.String location)
Sets the URI, usually a URL, for the location of this Endpoint.

Specified by:
setLocation in interface OnlineCAService
Parameters:
location - the location of this Endpoint

getOrderedChildren

public java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()
Specified by:
getOrderedChildren in interface org.opensaml.xml.XMLObject