public class CpeCheckpointImpl
extends org.apache.uima.resource.metadata.impl.MetaDataObject_impl
implements org.apache.uima.collection.metadata.CpeCheckpoint
org.apache.uima.resource.metadata.impl.MetaDataObject_impl.MetaDataAttr, org.apache.uima.resource.metadata.impl.MetaDataObject_impl.SerialContext, org.apache.uima.resource.metadata.impl.MetaDataObject_impl.Serializer| Constructor and Description |
|---|
CpeCheckpointImpl()
Instantiates a new cpe checkpoint impl.
|
| Modifier and Type | Method and Description |
|---|---|
void |
buildFromXMLElement(Element aElement,
org.apache.uima.util.XMLParser aParser,
org.apache.uima.util.XMLParser.ParsingOptions aOptions)
Overridden to read Checkpoint attributes.
|
int |
getBatch() |
int |
getBatchSize() |
String |
getFile()
Gets the file.
|
String |
getFilePath() |
int |
getFrequency() |
String |
getTime()
Gets the time.
|
protected org.xml.sax.helpers.AttributesImpl |
getXMLAttributes()
Overridden to handle Checkpoint attributes.
|
protected org.apache.uima.resource.metadata.impl.XmlizationInfo |
getXmlizationInfo() |
boolean |
isTimeBased() |
void |
setBatch(int i)
Sets the batch.
|
void |
setBatchSize(int aBatchSize) |
void |
setFile(String string)
Sets the file.
|
void |
setFilePath(String aCheckpointFilePath) |
void |
setFrequency(int aFrequency,
boolean aTimeBased) |
void |
setTime(String i)
Sets the time.
|
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, writePropertyAsElementfinalize, getClass, notify, notifyAll, wait, wait, waitpublic CpeCheckpointImpl()
public void setFilePath(String aCheckpointFilePath) throws org.apache.uima.collection.metadata.CpeDescriptorException
setFilePath in interface org.apache.uima.collection.metadata.CpeCheckpointorg.apache.uima.collection.metadata.CpeDescriptorExceptionpublic String getFilePath()
getFilePath in interface org.apache.uima.collection.metadata.CpeCheckpointpublic void setFrequency(int aFrequency,
boolean aTimeBased)
setFrequency in interface org.apache.uima.collection.metadata.CpeCheckpointpublic int getFrequency()
getFrequency in interface org.apache.uima.collection.metadata.CpeCheckpointpublic boolean isTimeBased()
isTimeBased in interface org.apache.uima.collection.metadata.CpeCheckpointpublic void setBatchSize(int aBatchSize)
setBatchSize in interface org.apache.uima.collection.metadata.CpeCheckpointpublic int getBatchSize()
getBatchSize in interface org.apache.uima.collection.metadata.CpeCheckpointpublic void buildFromXMLElement(Element aElement, org.apache.uima.util.XMLParser aParser, org.apache.uima.util.XMLParser.ParsingOptions aOptions) throws org.apache.uima.util.InvalidXMLException
buildFromXMLElement in interface org.apache.uima.util.XMLizablebuildFromXMLElement in class org.apache.uima.resource.metadata.impl.MetaDataObject_implaElement - the a elementaParser - the a parseraOptions - the a optionsorg.apache.uima.util.InvalidXMLException - the invalid XML exceptionMetaDataObject_impl.buildFromXMLElement(org.w3c.dom.Element,
org.apache.uima.util.XMLParser, org.apache.uima.util.XMLParser.ParsingOptions)protected org.xml.sax.helpers.AttributesImpl getXMLAttributes()
getXMLAttributes in class org.apache.uima.resource.metadata.impl.MetaDataObject_implMetaDataObject_impl.getXMLAttributes()protected org.apache.uima.resource.metadata.impl.XmlizationInfo getXmlizationInfo()
getXmlizationInfo in class org.apache.uima.resource.metadata.impl.MetaDataObject_implpublic int getBatch()
public String getFile()
public String getTime()
public void setBatch(int i)
i - the new batchpublic void setFile(String string)
string - the new filepublic void setTime(String i)
i - the new timeCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.