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.String
ATTCOUNTRYCODE
static java.lang.String
ATTLANGCODE
static java.lang.String
ELEMENT_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 boolean
equals(java.lang.Object o)
java.lang.String
getAnnotationtemplate()
int
getAnnotationtemplateId()
java.lang.String
getCountryISO3166code()
Get country ISO 3166 codejava.lang.String
getLanguageISO639code()
Recording
getRecording()
void
setAnnotationtemplate(java.lang.String annotationtemplate)
void
setAnnotationtemplateId(int annotationtemplateId)
void
setCountryISO3166code(java.lang.String countryISO3166code)
void
setLanguageISO639code(java.lang.String languageISO639code)
void
setRecording(Recording recording)
org.w3c.dom.Element
toElement(org.w3c.dom.Document d)
java.lang.String
toString()
-
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:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
toElement
public org.w3c.dom.Element toElement(org.w3c.dom.Document d)
-
-