org.gedcomx.atom
Class Category

java.lang.Object
  extended by org.gedcomx.atom.CommonAttributes
      extended by 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
Category()
           
 
Method Summary
 String getLabel()
          a human-readable label for display in end-user applications
 URI getScheme()
          identifies a categorization scheme
 String getTerm()
          identifies the category to which the entry or feed belongs
 void setLabel(String label)
          a human-readable label for display in end-user applications
 void setScheme(URI scheme)
          identifies a categorization scheme
 void setTerm(String term)
          identifies the category to which the entry or feed belongs
 
Methods inherited from class org.gedcomx.atom.CommonAttributes
getBase, getLang, setBase, setLang
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Category

public Category()
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


Copyright © 2016. All rights reserved.