public class TagGroup extends java.lang.Object implements TagGroupIf
Constructor and Description |
---|
TagGroup()
Constructor
|
TagGroup(com.workingdogs.village.Record vr,
KKCriteria c)
Instantiates the attributes of the Tag Group object from a Record object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
java.lang.String |
getFacetConstraint()
Adds this value as a constraint when doing a SOLR search returning facet information.
|
java.lang.String[] |
getFacetConstraints()
Add these values as constraints when doing a SOLR search returning facet information.
|
int |
getFacetNumber()
Defines the facet field the tag group is mapped to in SOLR
|
int |
getId() |
int |
getLanguageId() |
java.lang.String |
getName() |
TagIf[] |
getTags() |
void |
setDescription(java.lang.String description) |
void |
setFacetConstraint(java.lang.String facetConstraint)
Adds this value as a constraint when doing a SOLR search returning facet information.
|
void |
setFacetConstraints(java.lang.String[] facetConstraints)
Add these values as constraints when doing a SOLR search returning facet information.
|
void |
setFacetNumber(int facetNumber)
Defines the facet field the tag group is mapped to in SOLR
|
void |
setId(int id) |
void |
setLanguageId(int languageId) |
void |
setName(java.lang.String name) |
void |
setTags(TagIf[] tags) |
java.lang.String |
toString() |
public TagGroup()
public TagGroup(com.workingdogs.village.Record vr, KKCriteria c) throws com.workingdogs.village.DataSetException
vr
- Record containing datac
- Criteria containing column namescom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString
in class java.lang.Object
public int getId()
getId
in interface TagGroupIf
public void setId(int id)
setId
in interface TagGroupIf
id
- The id to set.public java.lang.String getDescription()
getDescription
in interface TagGroupIf
public void setDescription(java.lang.String description)
setDescription
in interface TagGroupIf
description
- The description to set.public int getLanguageId()
getLanguageId
in interface TagGroupIf
public void setLanguageId(int languageId)
setLanguageId
in interface TagGroupIf
languageId
- The languageId to set.public java.lang.String getName()
getName
in interface TagGroupIf
public void setName(java.lang.String name)
setName
in interface TagGroupIf
name
- The name to set.public TagIf[] getTags()
getTags
in interface TagGroupIf
public void setTags(TagIf[] tags)
setTags
in interface TagGroupIf
tags
- The tags to set.public int getFacetNumber()
getFacetNumber
in interface TagGroupIf
public void setFacetNumber(int facetNumber)
setFacetNumber
in interface TagGroupIf
facetNumber
- the facetNumber to setpublic java.lang.String getFacetConstraint()
getFacetConstraint
in interface TagGroupIf
public void setFacetConstraint(java.lang.String facetConstraint)
setFacetConstraint
in interface TagGroupIf
facetConstraint
- the facetConstraint to setpublic java.lang.String[] getFacetConstraints()
getFacetConstraints
in interface TagGroupIf
public void setFacetConstraints(java.lang.String[] facetConstraints)
setFacetConstraints
in interface TagGroupIf
facetConstraints
- the facetConstraints to setCopyright © 2018 DS Data Systems UK Ltd.