Class CasProcessorDeploymentParamImpl
- java.lang.Object
-
- org.apache.uima.resource.metadata.impl.MetaDataObject_impl
-
- 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
The Class CasProcessorDeploymentParamImpl.- 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 Modifier and Type Field Description private java.lang.String
name
The name.private static long
serialVersionUID
The Constant serialVersionUID.private java.lang.String
type
The type.private java.lang.String
value
The value.private static XmlizationInfo
XMLIZATION_INFO
The Constant XMLIZATION_INFO.-
Fields inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
serialContext
-
-
Constructor Summary
Constructors Constructor Description CasProcessorDeploymentParamImpl()
Instantiates a new cas processor deployment param impl.CasProcessorDeploymentParamImpl(java.lang.String aName, java.lang.String aValue, java.lang.String aType)
Instantiates a new cas processor deployment param impl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getParameterName()
Returns the name of the parameterjava.lang.String
getParameterType()
Returns deployment parameter value typejava.lang.String
getParameterValue()
Returns deployment parameter valueprotected 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 parametervoid
setParameterType(java.lang.String aParamType)
Sets deployment parameter value typevoid
setParameterValue(java.lang.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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
The Constant serialVersionUID.- See Also:
- Constant Field Values
-
name
private java.lang.String name
The name.
-
value
private java.lang.String value
The value.
-
type
private java.lang.String type
The type.
-
XMLIZATION_INFO
private static final XmlizationInfo XMLIZATION_INFO
The Constant XMLIZATION_INFO.
-
-
Constructor Detail
-
CasProcessorDeploymentParamImpl
public CasProcessorDeploymentParamImpl()
Instantiates a new cas processor deployment param impl.
-
CasProcessorDeploymentParamImpl
public CasProcessorDeploymentParamImpl(java.lang.String aName, java.lang.String aValue, java.lang.String aType)
Instantiates a new cas processor deployment param impl.- Parameters:
aName
- the a nameaValue
- the a valueaType
- the a type
-
-
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 interfaceCasProcessorDeploymentParam
- Parameters:
aParamName
- - a name- Throws:
CpeDescriptorException
- tbd
-
getParameterName
public java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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 org.xml.sax.helpers.AttributesImpl getXMLAttributes()
Overridden to handle "name" and "value" attributes.- Overrides:
getXMLAttributes
in classMetaDataObject_impl
- Returns:
- the XML attributes
- 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
-
-