Package org.gedcomx.common
Class Qualifier
java.lang.Object
org.gedcomx.common.Qualifier
A data qualifier. Qualifiers are used to "qualify" certain data elements to provide additional context, information, or details.
- Author:
- Ryan Heaton
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()The name of the qualifier.getValue()The value of the qualifier.inthashCode()Build up this qualifier with a name.name(ControlledVocabulary name) Build up this qualifier with a name.voidThe name of the qualifier.voidsetName(ControlledVocabulary element) Set the qualifier name as an element of a constrained vocabulary.voidThe value of the qualifier.toString()Build up this qualifier with a value.
-
Constructor Details
-
Qualifier
public Qualifier() -
Qualifier
-
Qualifier
-
Qualifier
-
Qualifier
-
Qualifier
-
-
Method Details
-
getName
The name of the qualifier. The name should be an element of a constrained vocabulary and is used to determine meaning of the qualifier.- Returns:
- The name of the qualifier.
-
setName
The name of the qualifier. The name should be an element of a constrained vocabulary and is used to determine meaning of the qualifier.- Parameters:
name- The name of the qualifier.
-
name
Build up this qualifier with a name.- Parameters:
name- the name.- Returns:
- this.
-
setName
Set the qualifier name as an element of a constrained vocabulary.- Parameters:
element- The element.
-
name
Build up this qualifier with a name.- Parameters:
name- the name.- Returns:
- this.
-
getValue
The value of the qualifier. Some qualifiers may not have values, indicating that the qualifier is to be treated more like a "tag".- Returns:
- The value of the qualifier.
-
setValue
The value of the qualifier. Some qualifiers may not have values, indicating that the qualifier is to be treated more like a "tag".- Parameters:
value- The value of the qualifier.
-
value
Build up this qualifier with a value.- Parameters:
value- The value of the qualifier.- Returns:
- this.
-
toString
-
equals
-
hashCode
public int hashCode()
-