org.apache.uima.collection.impl.metadata.cpe
Class CasProcessorDeploymentParamImpl

java.lang.Object
  extended by org.apache.uima.resource.metadata.impl.MetaDataObject_impl
      extended by org.apache.uima.collection.impl.metadata.cpe.CasProcessorDeploymentParamImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, CasProcessorDeploymentParam, MetaDataObject, XMLizable

public class CasProcessorDeploymentParamImpl
extends MetaDataObject_impl
implements CasProcessorDeploymentParam

See Also:
Serialized Form

Constructor Summary
CasProcessorDeploymentParamImpl()
           
CasProcessorDeploymentParamImpl(java.lang.String aName, java.lang.String aValue, java.lang.String aType)
           
 
Method Summary
 java.lang.String getParameterName()
          Returns the name of the parameter
 java.lang.String getParameterType()
          Returns deployment parameter value type
 java.lang.String getParameterValue()
          Returns deployment parameter value
protected  org.xml.sax.helpers.AttributesImpl getXMLAttributes()
          Overridden to handle "name" and "value" attributes.
protected  XmlizationInfo getXmlizationInfo()
          To be implemented by subclasses to return information describing how to represent this object in XML.
 void setParameterName(java.lang.String aParamName)
          Sets the name of the parameter
 void setParameterType(java.lang.String aParamType)
          Sets deployment parameter value type
 void setParameterValue(java.lang.String aParamValue)
          Sets the value of the deploymnet parameter
 
Methods inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
buildFromXMLElement, buildFromXMLElement, clone, equals, getAttributeClass, getAttributeValue, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSourceUrl, getSourceUrlString, getWrapperClass, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readPropertyValueFromXMLElement, readUnknownPropertyValueFromXMLElement, setAttributeValue, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, writeArrayPropertyAsElement, writeMapPropertyToXml, writePropertyAsElement
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.uima.resource.metadata.MetaDataObject
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
 
Methods inherited from interface org.apache.uima.util.XMLizable
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
 

Constructor Detail

CasProcessorDeploymentParamImpl

public CasProcessorDeploymentParamImpl()

CasProcessorDeploymentParamImpl

public CasProcessorDeploymentParamImpl(java.lang.String aName,
                                       java.lang.String aValue,
                                       java.lang.String aType)
Method Detail

setParameterName

public void setParameterName(java.lang.String aParamName)
                      throws CpeDescriptorException
Description copied from interface: CasProcessorDeploymentParam
Sets the name of the parameter

Specified by:
setParameterName in interface CasProcessorDeploymentParam
Parameters:
aParamName - - a name
Throws:
CpeDescriptorException

getParameterName

public java.lang.String getParameterName()
                                  throws CpeDescriptorException
Description copied from interface: CasProcessorDeploymentParam
Returns the name of the parameter

Specified by:
getParameterName in interface CasProcessorDeploymentParam
Returns:
- name as String
Throws:
CpeDescriptorException

setParameterValue

public void setParameterValue(java.lang.String aParamValue)
                       throws CpeDescriptorException
Description copied from interface: CasProcessorDeploymentParam
Sets the value of the deploymnet parameter

Specified by:
setParameterValue in interface CasProcessorDeploymentParam
Parameters:
aParamValue - - parameter value
Throws:
CpeDescriptorException

getParameterValue

public java.lang.String getParameterValue()
                                   throws CpeDescriptorException
Description copied from interface: CasProcessorDeploymentParam
Returns deployment parameter value

Specified by:
getParameterValue in interface CasProcessorDeploymentParam
Returns:
- value as String
Throws:
CpeDescriptorException

setParameterType

public void setParameterType(java.lang.String aParamType)
                      throws CpeDescriptorException
Description copied from interface: CasProcessorDeploymentParam
Sets deployment parameter value type

Specified by:
setParameterType in interface CasProcessorDeploymentParam
Parameters:
aParamType - - value type (string, int, etc)
Throws:
CpeDescriptorException

getParameterType

public java.lang.String getParameterType()
                                  throws CpeDescriptorException
Description copied from interface: CasProcessorDeploymentParam
Returns deployment parameter value type

Specified by:
getParameterType in interface CasProcessorDeploymentParam
Returns:
- value type (string, int, etc)
Throws:
CpeDescriptorException

getXMLAttributes

protected org.xml.sax.helpers.AttributesImpl getXMLAttributes()
Overridden to handle "name" and "value" attributes.

Overrides:
getXMLAttributes in class MetaDataObject_impl
Returns:
an object defining the attributes to be written to the XML
See Also:
MetaDataObject_impl.getXMLAttributes()

getXmlizationInfo

protected XmlizationInfo getXmlizationInfo()
Description copied from class: MetaDataObject_impl
To be implemented by subclasses to return information describing how to represent this object in XML.

Specified by:
getXmlizationInfo in class MetaDataObject_impl
Returns:
information defining this object's XML representation


Copyright © 2013. All Rights Reserved.