Class DisplaySortInstanceLinkerEntry
java.lang.Object
com.aquima.interactions.framework.container.instance.linker.DisplaySortInstanceLinkerEntry
- All Implemented Interfaces:
IInstanceLinkerEntry
,Comparable<IInstanceLinkerEntry>
- Direct Known Subclasses:
HiddenSortInstanceLinkerEntry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ILanguage
protected final IEntityInstance
protected final ILanguage[]
-
Constructor Summary
ConstructorsConstructorDescriptionDisplaySortInstanceLinkerEntry
(IEntityInstance instance, ILanguage[] languages, ILanguage currentLanguage, IAttributeDefinition[] displayAttributeDefinitions) -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(IInstanceLinkerEntry instanceLinkerEntry) boolean
Will return the value that the entry should be displayed by.Will return the value that the entry is comparing with.int
hashCode()
toString()
-
Field Details
-
instance
-
languages
-
currentLanguage
-
-
Constructor Details
-
DisplaySortInstanceLinkerEntry
public DisplaySortInstanceLinkerEntry(IEntityInstance instance, ILanguage[] languages, ILanguage currentLanguage, IAttributeDefinition[] displayAttributeDefinitions)
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<IInstanceLinkerEntry>
-
equals
-
hashCode
public int hashCode() -
toString
-
getSortPrimitiveValue
Description copied from interface:IInstanceLinkerEntry
Will return the value that the entry is comparing with.- Specified by:
getSortPrimitiveValue
in interfaceIInstanceLinkerEntry
- Returns:
- The primitive value
-
getDisplayPrimitiveValue
Description copied from interface:IInstanceLinkerEntry
Will return the value that the entry should be displayed by.- Specified by:
getDisplayPrimitiveValue
in interfaceIInstanceLinkerEntry
- Returns:
- The primitive value
-