public class TaxonomyTerm
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
description
The description of the term as it appears in the taxonomy.
|
long |
id
The id assigned to the term in the taxonomy.
|
long |
parentId
The parent taxonomy id, if any.
|
java.lang.String |
taxonomy
The taxonomy.
|
Term |
term
The associated term.
|
| Constructor and Description |
|---|
TaxonomyTerm(long id,
java.lang.String taxonomy,
Term term,
java.lang.String description)
Creates a term in a taxonomy with no parent.
|
TaxonomyTerm(long id,
java.lang.String taxonomy,
Term term,
java.lang.String description,
long parentId)
Creates a term in a taxonomy with a parent.
|
public final long id
public final java.lang.String taxonomy
public final Term term
public final java.lang.String description
public final long parentId
public TaxonomyTerm(long id,
java.lang.String taxonomy,
Term term,
java.lang.String description)
id - The id assigned to the term in the taxonomy.taxonomy - The taxonomy.term - The term.description - The description as it appears in the taxonomy.public TaxonomyTerm(long id,
java.lang.String taxonomy,
Term term,
java.lang.String description,
long parentId)
id - The id assigned to the term in the taxonomy.taxonomy - The taxonomy.term - The term.description - The description as it appears in the taxonomy.parentId - The parent id, if any.