Package org.gedcomx.atom
Class Generator
- java.lang.Object
-
- org.gedcomx.atom.Generator
-
public final class Generator extends Object
identifies the agent used to generate a feed, for debugging and other purposes.- Author:
- Ryan Heaton
- See Also:
- The atom spec, section 4.2.4.
-
-
Constructor Summary
Constructors Constructor Description Generator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URIgetBase()The base.StringgetLang()The language.URIgetUri()link to a representation that is relevant to the generating agent.StringgetValue()human-readable name for the generating agentStringgetVersion()the version of the generating agentvoidsetBase(URI base)The base.voidsetLang(String lang)The language.voidsetUri(URI uri)link to a representation that is relevant to the generating agent.voidsetValue(String value)human-readable name for the generating agentvoidsetVersion(String version)the version of the generating agent
-
-
-
Method Detail
-
getLang
public String getLang()
The language.- Returns:
- The language.
- See Also:
- The atom spec, section 2.
-
setLang
public void setLang(String lang)
The language.- Parameters:
lang- The language.- See Also:
- The atom spec, section 2.
-
getBase
public URI getBase()
The base.- Returns:
- The base.
- See Also:
- The atom spec, section 2.
-
setBase
public void setBase(URI base)
The base.- Parameters:
base- The base.- See Also:
- The atom spec, section 2.
-
getUri
public URI getUri()
link to a representation that is relevant to the generating agent.- Returns:
- link to a representation that is relevant to the generating agent.
-
setUri
public void setUri(URI uri)
link to a representation that is relevant to the generating agent.- Parameters:
uri- link to a representation that is relevant to the generating agent.
-
getVersion
public String getVersion()
the version of the generating agent- Returns:
- the version of the generating agent
-
setVersion
public void setVersion(String version)
the version of the generating agent- Parameters:
version- the version of the generating agent
-
getValue
public String getValue()
human-readable name for the generating agent- Returns:
- human-readable name for the generating agent
-
setValue
public void setValue(String value)
human-readable name for the generating agent- Parameters:
value- human-readable name for the generating agent
-
-