E
- the object of the propertypublic class HasAutolink<E extends DataObjectDefinition> extends Property<HasAutolink<E>>
AutolinkObject
.
Warning: this should not be added manually by the developer. UniqueIdentified
Modifier and Type | Class and Description |
---|---|
class |
HasAutolink.WidgetForLeftOrCommonAutolink
The widget for the auto-link as seen from the left, or the single common
widget for auto-link.
|
class |
HasAutolink.WidgetForRightAutolink
the widget for auto-link seen from the right
|
Property.PropertyElementDisplayDefinition
FIELDDIPLSAY_TITLE_MOD, FIELDDISPLAY_BOTTOMNOTES, FIELDDISPLAY_NONE, FIELDDISPLAY_NORMAL, FIELDDISPLAY_NORMAL_MOD, FIELDDISPLAY_TITLE, parent
Constructor and Description |
---|
HasAutolink(E linkdataobject,
AutolinkObject<E> autolinkobject,
WidgetDisplayPriority commonorfromlefttablepriority,
WidgetDisplayPriority righttablepriority)
creates an has-autolink property on the data object being linked by the
auto-link
|
Modifier and Type | Method and Description |
---|---|
void |
addActionOnSelectedLinkId(DynamicActionDefinition action)
adds an action on the link id.
|
void |
addActionOnSelectedRightObjectId(DynamicActionDefinition action)
adds an action on the right object when selecting a line in the link from
left widget
|
void |
controlAfterParentDefinition()
to be implemented if controls have to be performed after parent is added.
|
java.util.ArrayList<DataObjectDefinition> |
getExternalObjectDependence() |
java.lang.String |
getJavaType() |
E |
getLinkObjectDefinition() |
AutolinkObject<?> |
getLinkObjectProperty() |
java.lang.String[] |
getPropertyDeepCopyStatement()
Returns the required deepcopy statement for the property, sends back null if
nothing is required.
|
java.lang.String[] |
getPropertyExtractMethod()
This method should return non null value only if
setCreationDataInputForUpdate() is set
|
java.lang.String[] |
getPropertyInitMethod()
this method uses the context data for creation and the data-input for
standard creation.
|
AutolinkObject<E> |
getRelatedAutolinkProperty() |
Widget |
getWidgetForLeftOrCommonAutolink() |
Widget |
getWidgetForRightAutolink() |
void |
setFinalSettings()
an abstract method to be implemented by properties for finalizations to be
performed after all data objects have been created.
|
void |
writeDependentClass(SourceGenerator sg,
Module module)
only send here classes that are NOT data objects.
|
addBusinessRule, addChoiceCategoryHelper, addContextForDataCreation, addDataAccessMethod, addDataInput, addDependentProperty, addDisplayProfileForProperty, addElement, addElement, addElementasSearchElement, addExternalObjectProperty, addFieldOverrides, addMethodAdditionalProcessing, addObjectToAuthorityMapper, addPropertyGenerics, addStringHelper, generatePropertyHelperToFile, getBusinessRule, getBusinessRuleByName, getBusinessRuleNumber, getChoiceCategoryByKey, getChoiceCategoryKeyNumber, getChoiceCategoryNumber, getContextDataForCreation, getContextDataForCreationSize, getDataAccessMethod, getDataAccessMethod, getDataAccessMethodnumber, getDataInputForCreation, getDataInputSize, getDataObjectConstructorAttributes, getDataObjectFieldName, getDependentProperties, getDisplayDefinitionForElement, getDisplayProfileForProperty, getDisplayProfileForPropertyNumber, getExternalObject, getExternalObjectProperty, getExternalObjectPropertySize, getFieldOverridesat, getFieldOverridesNumber, getInstancename, getJavaClassType, getMethodAdditionalProcessing, getMethodAdditionalProcessingnumber, getParent, getPropertyclassname, getPropertyGenerics, getPropertyGenericsSize, getPropertyGenericsString, getPropertyHelperName, hasDynamicDefinitionHelper, hasInterface, hasStaticQuery, hideDataInputForCreation, isDatainputatbottom, isDataInputHiddenForCreation, isDataInputUsedForUpdate, isLegacy, isPropertyHelperTransient, setAsLegacy, setDatainputatbottom, setDataInputForUpdate, setDynamicDefinitionHelper, setExtraAttributes, writeAdditionalDefinition
AddElementWithSearch, addIndex, getDisplayname, getElements, getIndex, getSearchWidgetList, getTooltip
changeName, cleanName, equals, getName
public HasAutolink(E linkdataobject, AutolinkObject<E> autolinkobject, WidgetDisplayPriority commonorfromlefttablepriority, WidgetDisplayPriority righttablepriority)
linkdataobject
- the data object holding the auto-linkautolinkobject
- the auto-link objectcommonorfromlefttablepriority
- the priority of the left or common
widgetrighttablepriority
- the priority of the right table widgetpublic Widget getWidgetForLeftOrCommonAutolink()
public Widget getWidgetForRightAutolink()
public AutolinkObject<E> getRelatedAutolinkProperty()
public void controlAfterParentDefinition()
Property
controlAfterParentDefinition
in class Property<HasAutolink<E extends DataObjectDefinition>>
public java.lang.String getJavaType()
getJavaType
in class ObjectElement
public void writeDependentClass(SourceGenerator sg, Module module) throws java.io.IOException
ObjectElement
writeDependentClass
in class ObjectElement
java.io.IOException
public E getLinkObjectDefinition()
public AutolinkObject<?> getLinkObjectProperty()
public java.util.ArrayList<DataObjectDefinition> getExternalObjectDependence()
getExternalObjectDependence
in class Property<HasAutolink<E extends DataObjectDefinition>>
public void addActionOnSelectedLinkId(DynamicActionDefinition action)
action
- the action to add (should have the link id as unique argument)public void addActionOnSelectedRightObjectId(DynamicActionDefinition action)
action
- an action with the object id as unique input argumentpublic java.lang.String[] getPropertyInitMethod()
Property
getPropertyInitMethod
in class Property<HasAutolink<E extends DataObjectDefinition>>
public java.lang.String[] getPropertyExtractMethod()
Property
getPropertyExtractMethod
in class Property<HasAutolink<E extends DataObjectDefinition>>
public void setFinalSettings()
Property
setFinalSettings
in class Property<HasAutolink<E extends DataObjectDefinition>>
public java.lang.String[] getPropertyDeepCopyStatement()
Property
getPropertyDeepCopyStatement
in class Property<HasAutolink<E extends DataObjectDefinition>>