Class ValidatedTerminologyEntryImpl
java.lang.Object
com.atlassian.jira.i18n.terminology.ValidatedTerminologyEntryImpl
- All Implemented Interfaces:
TerminologyEntry
,Serializable
@ParametersAreNonnullByDefault
public class ValidatedTerminologyEntryImpl
extends Object
implements Serializable, TerminologyEntry
A class that represents terminology entry.
In the past the feature has been called 'Nomenclature'. The new name for the feature is 'Terminology'.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Original names that are possible to be changed byTerminologyEntryWriter
-
Constructor Summary
ConstructorsConstructorDescriptionValidatedTerminologyEntryImpl
(String originalName, String newName, String newNamePlural) -
Method Summary
-
Constructor Details
-
ValidatedTerminologyEntryImpl
-
-
Method Details
-
getOriginalName
- Specified by:
getOriginalName
in interfaceTerminologyEntry
- Returns:
- the original name that will be mapped
-
getOriginalNamePlural
- Specified by:
getOriginalNamePlural
in interfaceTerminologyEntry
- Returns:
- the plural version of the original name that will be mapped
-
getNewName
- Specified by:
getNewName
in interfaceTerminologyEntry
- Returns:
- the new name that will be visible in place of the original name
-
getNewNamePlural
- Specified by:
getNewNamePlural
in interfaceTerminologyEntry
- Returns:
- plural version of the new name that will be visible in place of the plural version of the original name
-
hasNonOriginalNames
public boolean hasNonOriginalNames()Indicates whether this instance is significant, that is at either {@link this#newName} or {@link this#newNamePlural} is different than original ones.- Specified by:
hasNonOriginalNames
in interfaceTerminologyEntry
- Returns:
- true if either
TerminologyEntry.getNewName()
orTerminologyEntry.getNewNamePlural()
is different than originalTerminologyEntry.getOriginalName()
orTerminologyEntry.getOriginalNamePlural()
.
-
toString
-
equals
-
hashCode
public int hashCode()
-