Package com.evolveum.midpoint.prism
Class PrismPresentationDefinition.Data
java.lang.Object
com.evolveum.midpoint.prism.AbstractFreezable
com.evolveum.midpoint.prism.PrismPresentationDefinition.Data
- All Implemented Interfaces:
Freezable,PrismPresentationDefinition,PrismPresentationDefinition.Mutable,Serializable
- Enclosing interface:
- PrismPresentationDefinition
public static class PrismPresentationDefinition.Data
extends AbstractFreezable
implements PrismPresentationDefinition, PrismPresentationDefinition.Mutable, Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinition
PrismPresentationDefinition.Data, PrismPresentationDefinition.Delegable, PrismPresentationDefinition.MutableNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinition.Mutable
PrismPresentationDefinition.Mutable.Delegable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanEnumeration annotation that specifies how/whether the item should be displayed.Returns display name.Specifies an order in which the item should be displayed relative to other items at the same level.Must containstag because of html tags used in text. Returns only a first sentence of documentation.getHelp()Returns help string.inthashCode()booleanTrue for definitions that are more important than others and that should be emphasized during presentation.voidsetDiagrams(List<ItemDiagramSpecification> value) voidsetDisplayHint(DisplayHint displayHint) voidsetDisplayName(String displayName) voidsetDisplayOrder(Integer displayOrder) voidsetDocumentation(String documentation) voidsetEmphasized(boolean emphasized) voidMethods inherited from class com.evolveum.midpoint.prism.AbstractFreezable
freeze, freeze, freezeAll, freezeNullableList, isImmutable, isMutable, performFreezeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
Constructor Details
-
Data
public Data()
-
-
Method Details
-
getDisplayHint
Description copied from interface:PrismPresentationDefinitionEnumeration annotation that specifies how/whether the item should be displayed. It is also a replacement for the old "emphasized" annotation.- Specified by:
getDisplayHintin interfacePrismPresentationDefinition
-
setDisplayHint
- Specified by:
setDisplayHintin interfacePrismPresentationDefinition.Mutable
-
isEmphasized
public boolean isEmphasized()Description copied from interface:PrismPresentationDefinitionTrue for definitions that are more important than others and that should be emphasized during presentation. E.g. the emphasized definitions will always be displayed in the user interfaces (even if they are empty), they will always be included in the dumps, etc. TODO probably deprecated, isn't it?- Specified by:
isEmphasizedin interfacePrismPresentationDefinition
-
setEmphasized
public void setEmphasized(boolean emphasized) - Specified by:
setEmphasizedin interfacePrismPresentationDefinition.Mutable
-
getDisplayName
Description copied from interface:PrismPresentationDefinitionReturns display name. Specifies the printable name of the object class or attribute. It must contain a printable string. It may also contain a key to catalog file. Returns null if no display name is set. Corresponds to "displayName" XSD annotation.- Specified by:
getDisplayNamein interfacePrismPresentationDefinition- Returns:
- display name string or catalog key
-
setDisplayName
- Specified by:
setDisplayNamein interfacePrismPresentationDefinition.Mutable
-
getDisplayOrder
Description copied from interface:PrismPresentationDefinitionSpecifies an order in which the item should be displayed relative to other items at the same level. The items will be displayed by sorting them by the values of displayOrder annotation (ascending). Items that do not have any displayOrder annotation will be displayed last. The ordering of values with the same displayOrder is undefined and it may be arbitrary.- Specified by:
getDisplayOrderin interfacePrismPresentationDefinition
-
setDisplayOrder
- Specified by:
setDisplayOrderin interfacePrismPresentationDefinition.Mutable
-
getHelp
Description copied from interface:PrismPresentationDefinitionReturns help string. Specifies the help text or a key to catalog file for a help text. The help text may be displayed in any suitable way by the GUI. It should explain the meaning of an attribute or object class. Returns null if no help string is set. Corresponds to "help" XSD annotation.- Specified by:
getHelpin interfacePrismPresentationDefinition- Returns:
- help string or catalog key
-
setHelp
- Specified by:
setHelpin interfacePrismPresentationDefinition.Mutable
-
getDocumentation
Description copied from interface:PrismPresentationDefinitionMust containstag because of html tags used in text. - Specified by:
getDocumentationin interfacePrismPresentationDefinition
-
setDocumentation
- Specified by:
setDocumentationin interfacePrismPresentationDefinition.Mutable
-
getDiagrams
- Specified by:
getDiagramsin interfacePrismPresentationDefinition
-
setDiagrams
- Specified by:
setDiagramsin interfacePrismPresentationDefinition.Mutable
-
getDocumentationPreview
Description copied from interface:PrismPresentationDefinitionReturns only a first sentence of documentation.- Specified by:
getDocumentationPreviewin interfacePrismPresentationDefinition
-
copyFrom
-
equals
-
hashCode
public int hashCode()
-