Package ipsk.db.speech
Class AnnotationTemplate
- java.lang.Object
-
- ipsk.db.speech.BasicPropertyChangeSupport
-
- ipsk.db.speech.AnnotationTemplate
-
- All Implemented Interfaces:
java.io.Serializable
@Entity public class AnnotationTemplate extends BasicPropertyChangeSupport implements java.io.Serializable
Represents a annotationtemplate element of the recording script.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringATTCOUNTRYCODEstatic java.lang.StringATTLANGCODEstatic java.lang.StringELEMENT_NAME-
Fields inherited from class ipsk.db.speech.BasicPropertyChangeSupport
propertyChangeSupport
-
-
Constructor Summary
Constructors Constructor Description AnnotationTemplate()default constructorAnnotationTemplate(int annotationtemplateId)minimal constructorAnnotationTemplate(org.w3c.dom.Element e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetAnnotationtemplate()intgetAnnotationtemplateId()java.lang.StringgetCountryISO3166code()Get country ISO 3166 codejava.lang.StringgetLanguageISO639code()RecordinggetRecording()voidsetAnnotationtemplate(java.lang.String annotationtemplate)voidsetAnnotationtemplateId(int annotationtemplateId)voidsetCountryISO3166code(java.lang.String countryISO3166code)voidsetLanguageISO639code(java.lang.String languageISO639code)voidsetRecording(Recording recording)org.w3c.dom.ElementtoElement(org.w3c.dom.Document d)java.lang.StringtoString()-
Methods inherited from class ipsk.db.speech.BasicPropertyChangeSupport
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, hasListeners, removePropertyChangeListener, removePropertyChangeListener
-
-
-
-
Field Detail
-
ELEMENT_NAME
public static final java.lang.String ELEMENT_NAME
- See Also:
- Constant Field Values
-
ATTLANGCODE
public static final java.lang.String ATTLANGCODE
- See Also:
- Constant Field Values
-
ATTCOUNTRYCODE
public static final java.lang.String ATTCOUNTRYCODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAnnotationtemplateId
public int getAnnotationtemplateId()
-
setAnnotationtemplateId
public void setAnnotationtemplateId(int annotationtemplateId)
-
getAnnotationtemplate
public java.lang.String getAnnotationtemplate()
-
setAnnotationtemplate
public void setAnnotationtemplate(java.lang.String annotationtemplate)
-
getLanguageISO639code
public java.lang.String getLanguageISO639code()
-
setLanguageISO639code
public void setLanguageISO639code(java.lang.String languageISO639code)
-
getCountryISO3166code
public java.lang.String getCountryISO3166code()
Get country ISO 3166 code- Returns:
- country ISO 3166 code
-
setCountryISO3166code
public void setCountryISO3166code(java.lang.String countryISO3166code)
-
getRecording
public Recording getRecording()
-
setRecording
public void setRecording(Recording recording)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
toElement
public org.w3c.dom.Element toElement(org.w3c.dom.Document d)
-
-