Class ElementDefinition
java.lang.Object
com.aquima.interactions.composer.model.definition.ElementDefinition
- All Implemented Interfaces:
IElementDefinition
,Serializable
- Direct Known Subclasses:
AssetDefinition
,ButtonDefinition
,CompositeNodeDefinition
,ContainerDefinition
,ContentStyleDefinition
,FieldDefinition
,ImageDefinition
,TextDefinition
Base class for (static) element definitions.
- Since:
- 5.0
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ElementDefinition
(IElementDS datasource) protected
protected
ElementDefinition
(String name) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
This method returns the name of the element definition.This method returns the presentation styles for the element.int
hashCode()
protected boolean
protected void
setInternalDefinition
(boolean isInternal) protected void
setPresentationStyles
(PresentationStyle[] presentationStyles) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aquima.interactions.composer.IElementDefinition
getType
-
Constructor Details
-
ElementDefinition
-
ElementDefinition
-
ElementDefinition
-
-
Method Details
-
isInternalDefinition
protected boolean isInternalDefinition() -
setInternalDefinition
protected void setInternalDefinition(boolean isInternal) -
getName
Description copied from interface:IElementDefinition
This method returns the name of the element definition. The name can be empty for element definitions that can not be retrieved by name, these elements can only be used via an inline reference.- Specified by:
getName
in interfaceIElementDefinition
- Returns:
- The name of the element definition, can be null.
-
getPresentationStyles
Description copied from interface:IElementDefinition
This method returns the presentation styles for the element.- Specified by:
getPresentationStyles
in interfaceIElementDefinition
- Returns:
- The presentation styles, never null, but could be an empty array.
-
setPresentationStyles
-
hashCode
public int hashCode() -
equals
-