Class UserInfo
java.lang.Object
com.caplin.motif.config.definitions.client.UserInfo
Additional information about the user that is for display only and does not directly impact feature availability.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
This enum defines the default setting for a user's classification. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclassification
(UserInfo.ClassificationEnum classification) detailedDisplayFields
(DisplayFields detailedDisplayFields) displayName
(String displayName) boolean
This enum defines the default setting for a user's classification.Get detailedDisplayFieldsA name for display in the UI, e.g.Get summaryDisplayFieldsA message to be shown as a tooltip next to the client name in the client info section.int
hashCode()
void
setClassification
(UserInfo.ClassificationEnum classification) void
setDetailedDisplayFields
(DisplayFields detailedDisplayFields) void
setDisplayName
(String displayName) void
setSummaryDisplayFields
(DisplayFields summaryDisplayFields) void
setWarningMessage
(String warningMessage) summaryDisplayFields
(DisplayFields summaryDisplayFields) toString()
warningMessage
(String warningMessage)
-
Constructor Details
-
UserInfo
public UserInfo()
-
-
Method Details
-
classification
-
getClassification
This enum defines the default setting for a user's classification. Not setting this will default to INTERNAL.- Returns:
- classification
-
setClassification
-
displayName
-
getDisplayName
A name for display in the UI, e.g. the user's first or full name.- Returns:
- displayName
-
setDisplayName
-
warningMessage
-
getWarningMessage
A message to be shown as a tooltip next to the client name in the client info section. This can be an i18n token or plaintext.- Returns:
- warningMessage
-
setWarningMessage
-
summaryDisplayFields
-
getSummaryDisplayFields
Get summaryDisplayFields- Returns:
- summaryDisplayFields
-
setSummaryDisplayFields
-
detailedDisplayFields
-
getDetailedDisplayFields
Get detailedDisplayFields- Returns:
- detailedDisplayFields
-
setDetailedDisplayFields
-
equals
-
hashCode
public int hashCode() -
toString
-