Class CasProcessorDeploymentParamImpl
- java.lang.Object
-
- org.apache.uima.resource.metadata.impl.MetaDataObject_impl
-
- org.apache.uima.collection.impl.metadata.cpe.CasProcessorDeploymentParamImpl
-
- All Implemented Interfaces:
Serializable
,Cloneable
,CasProcessorDeploymentParam
,MetaDataObject
,XMLizable
public class CasProcessorDeploymentParamImpl extends MetaDataObject_impl implements CasProcessorDeploymentParam
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.Serializer
-
-
Field Summary
-
Fields inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
serialContext
-
-
Constructor Summary
Constructors Constructor Description CasProcessorDeploymentParamImpl()
CasProcessorDeploymentParamImpl(String aName, String aValue, String aType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getParameterName()
Returns the name of the parameterString
getParameterType()
Returns deployment parameter value typeString
getParameterValue()
Returns deployment parameter valueprotected 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(String aParamName)
Sets the name of the parametervoid
setParameterType(String aParamType)
Sets deployment parameter value typevoid
setParameterValue(String aParamValue)
Sets the value of the deployment parameter-
Methods inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
buildFromXMLElement, buildFromXMLElement, clone, equals, getAdditionalAttributes, getAttributeClass, getAttributeValue, getInfoset, getMatchingNode, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSerialContext, getSourceUrl, getSourceUrlString, getWrapperClass, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readPropertyValueFromXMLElement, readUnknownPropertyValueFromXMLElement, resolveSettings, setAttributeValue, setInfoset, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, valueIsNullOrEmptyArray, 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
-
-
-
-
Method Detail
-
setParameterName
public void setParameterName(String aParamName) throws CpeDescriptorException
Description copied from interface:CasProcessorDeploymentParam
Sets the name of the parameter- Specified by:
setParameterName
in interfaceCasProcessorDeploymentParam
- Parameters:
aParamName
- - a name- Throws:
CpeDescriptorException
- tbd
-
getParameterName
public String getParameterName() throws CpeDescriptorException
Description copied from interface:CasProcessorDeploymentParam
Returns the name of the parameter- Specified by:
getParameterName
in interfaceCasProcessorDeploymentParam
- Returns:
- - name as String
- Throws:
CpeDescriptorException
- tbd
-
setParameterValue
public void setParameterValue(String aParamValue) throws CpeDescriptorException
Description copied from interface:CasProcessorDeploymentParam
Sets the value of the deployment parameter- Specified by:
setParameterValue
in interfaceCasProcessorDeploymentParam
- Parameters:
aParamValue
- - parameter value- Throws:
CpeDescriptorException
- tbd
-
getParameterValue
public String getParameterValue() throws CpeDescriptorException
Description copied from interface:CasProcessorDeploymentParam
Returns deployment parameter value- Specified by:
getParameterValue
in interfaceCasProcessorDeploymentParam
- Returns:
- - value as String
- Throws:
CpeDescriptorException
- tbd
-
setParameterType
public void setParameterType(String aParamType) throws CpeDescriptorException
Description copied from interface:CasProcessorDeploymentParam
Sets deployment parameter value type- Specified by:
setParameterType
in interfaceCasProcessorDeploymentParam
- Parameters:
aParamType
- - value type (string, int, etc)- Throws:
CpeDescriptorException
- tbd
-
getParameterType
public String getParameterType() throws CpeDescriptorException
Description copied from interface:CasProcessorDeploymentParam
Returns deployment parameter value type- Specified by:
getParameterType
in interfaceCasProcessorDeploymentParam
- Returns:
- - value type (string, int, etc)
- Throws:
CpeDescriptorException
- tbd
-
getXMLAttributes
protected AttributesImpl getXMLAttributes()
Overridden to handle "name" and "value" attributes.- Overrides:
getXMLAttributes
in classMetaDataObject_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 classMetaDataObject_impl
- Returns:
- information defining this object's XML representation
-
-