salsa.corpora.elements
Class Meta

java.lang.Object
  extended by salsa.corpora.elements.Meta

public class Meta
extends java.lang.Object

Represents the 'meta' section in a SalsaXML corpus.

Author:
Fabian Shirokov

Constructor Summary
Meta()
          Zero-argumented default constructor.
 
Method Summary
 Author getAuthor()
          Returns the Author.
 CorpusId getCorpus_id()
          Returns the CorpusId.
 Date getDate()
          Returns the Date.
 Description getDescription()
          Returns the Description.
 Format getFormat()
          Returns the Format.
 History getHistory()
          Returns the History.
 Name getName()
          Returns the Name.
static java.lang.String getXmltag()
          Returns the name of the XML element of Meta, i. e.
 void setAuthor(Author author)
          Sets the Author.
 void setCorpus_id(CorpusId corpus_id)
          Sets the CorpusId.
 void setDate(Date date)
          Sets the Date.
 void setDescription(Description description)
          Sets the Description.
 void setFormat(Format format)
          Sets the Format.
 void setHistory(History history)
          Sets the History.
 void setName(Name name)
          Sets the Name.
 java.lang.String toString()
          Returns a recursively created XML representation of this Meta.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Meta

public Meta()
Zero-argumented default constructor.

Method Detail

getAuthor

public Author getAuthor()
Returns the Author.

Returns:
the author

getCorpus_id

public CorpusId getCorpus_id()
Returns the CorpusId.

Returns:
the corpus_id

getDate

public Date getDate()
Returns the Date.

Returns:
the date

getDescription

public Description getDescription()
Returns the Description.

Returns:
the description

getFormat

public Format getFormat()
Returns the Format.

Returns:
the format

getHistory

public History getHistory()
Returns the History.

Returns:
the history

getName

public Name getName()
Returns the Name.

Returns:
the name

getXmltag

public static java.lang.String getXmltag()
Returns the name of the XML element of Meta, i. e. 'meta'.

Returns:
the xmltag

setAuthor

public void setAuthor(Author author)
Sets the Author.

Parameters:
author - the author to set

setCorpus_id

public void setCorpus_id(CorpusId corpus_id)
Sets the CorpusId.

Parameters:
corpus_id - the corpus_id to set

setDate

public void setDate(Date date)
Sets the Date.

Parameters:
date - the date to set

setDescription

public void setDescription(Description description)
Sets the Description.

Parameters:
description - the description to set

setFormat

public void setFormat(Format format)
Sets the Format.

Parameters:
format - the format to set

setHistory

public void setHistory(History history)
Sets the History.

Parameters:
history - the history to set

setName

public void setName(Name name)
Sets the Name.

Parameters:
name - the name to set

toString

public java.lang.String toString()
Returns a recursively created XML representation of this Meta.

Overrides:
toString in class java.lang.Object