Package org.gedcomx.atom
Class Category
- java.lang.Object
-
- org.gedcomx.atom.CommonAttributes
-
- org.gedcomx.atom.Category
-
public final class Category extends CommonAttributes
conveys information about a category associated with an entry or feed.- Author:
- Ryan Heaton
- See Also:
- The atom spec, section 4.2.2.
-
-
Constructor Summary
Constructors Constructor Description Category()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLabel()a human-readable label for display in end-user applicationsURIgetScheme()identifies a categorization schemeStringgetTerm()identifies the category to which the entry or feed belongsvoidsetLabel(String label)a human-readable label for display in end-user applicationsvoidsetScheme(URI scheme)identifies a categorization schemevoidsetTerm(String term)identifies the category to which the entry or feed belongs-
Methods inherited from class org.gedcomx.atom.CommonAttributes
getBase, getLang, setBase, setLang
-
-
-
-
Method Detail
-
getTerm
public String getTerm()
identifies the category to which the entry or feed belongs- Returns:
- identifies the category to which the entry or feed belongs
-
setTerm
public void setTerm(String term)
identifies the category to which the entry or feed belongs- Parameters:
term- identifies the category to which the entry or feed belongs
-
getScheme
public URI getScheme()
identifies a categorization scheme- Returns:
- identifies a categorization scheme
-
setScheme
public void setScheme(URI scheme)
identifies a categorization scheme- Parameters:
scheme- identifies a categorization scheme
-
getLabel
public String getLabel()
a human-readable label for display in end-user applications- Returns:
- a human-readable label for display in end-user applications
-
setLabel
public void setLabel(String label)
a human-readable label for display in end-user applications- Parameters:
label- a human-readable label for display in end-user applications
-
-