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.StringnameThe name.private static longserialVersionUIDThe Constant serialVersionUID.private java.lang.StringtypeThe type.private java.lang.StringvalueThe value.private static XmlizationInfoXMLIZATION_INFOThe 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.StringgetParameterName()Returns the name of the parameterjava.lang.StringgetParameterType()Returns deployment parameter value typejava.lang.StringgetParameterValue()Returns deployment parameter valueprotected org.xml.sax.helpers.AttributesImplgetXMLAttributes()Overridden to handle "name" and "value" attributes.protected XmlizationInfogetXmlizationInfo()To be implemented by subclasses to return information describing how to represent this object in XML.voidsetParameterName(java.lang.String aParamName)Sets the name of the parametervoidsetParameterType(java.lang.String aParamType)Sets deployment parameter value typevoidsetParameterValue(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 CpeDescriptorExceptionDescription copied from interface:CasProcessorDeploymentParamSets the name of the parameter- Specified by:
setParameterNamein interfaceCasProcessorDeploymentParam- Parameters:
aParamName- - a name- Throws:
CpeDescriptorException- tbd
-
getParameterName
public java.lang.String getParameterName() throws CpeDescriptorExceptionDescription copied from interface:CasProcessorDeploymentParamReturns the name of the parameter- Specified by:
getParameterNamein interfaceCasProcessorDeploymentParam- Returns:
- - name as String
- Throws:
CpeDescriptorException- tbd
-
setParameterValue
public void setParameterValue(java.lang.String aParamValue) throws CpeDescriptorExceptionDescription copied from interface:CasProcessorDeploymentParamSets the value of the deployment parameter- Specified by:
setParameterValuein interfaceCasProcessorDeploymentParam- Parameters:
aParamValue- - parameter value- Throws:
CpeDescriptorException- tbd
-
getParameterValue
public java.lang.String getParameterValue() throws CpeDescriptorExceptionDescription copied from interface:CasProcessorDeploymentParamReturns deployment parameter value- Specified by:
getParameterValuein interfaceCasProcessorDeploymentParam- Returns:
- - value as String
- Throws:
CpeDescriptorException- tbd
-
setParameterType
public void setParameterType(java.lang.String aParamType) throws CpeDescriptorExceptionDescription copied from interface:CasProcessorDeploymentParamSets deployment parameter value type- Specified by:
setParameterTypein interfaceCasProcessorDeploymentParam- Parameters:
aParamType- - value type (string, int, etc)- Throws:
CpeDescriptorException- tbd
-
getParameterType
public java.lang.String getParameterType() throws CpeDescriptorExceptionDescription copied from interface:CasProcessorDeploymentParamReturns deployment parameter value type- Specified by:
getParameterTypein 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:
getXMLAttributesin classMetaDataObject_impl- Returns:
- the XML attributes
- See Also:
MetaDataObject_impl.getXMLAttributes()
-
getXmlizationInfo
protected XmlizationInfo getXmlizationInfo()
Description copied from class:MetaDataObject_implTo be implemented by subclasses to return information describing how to represent this object in XML.- Specified by:
getXmlizationInfoin classMetaDataObject_impl- Returns:
- information defining this object's XML representation
-
-