E
- the object owning the propertypublic class AutolinkObject<E extends DataObjectDefinition> extends Property<AutolinkObject<E>>
HasAutolink
UniqueIdentified
Property.PropertyElementDisplayDefinition
FIELDDIPLSAY_TITLE_MOD, FIELDDISPLAY_BOTTOMNOTES, FIELDDISPLAY_NONE, FIELDDISPLAY_NORMAL, FIELDDISPLAY_NORMAL_MOD, FIELDDISPLAY_TITLE, parent
Constructor and Description |
---|
AutolinkObject(E objectforlink,
java.lang.String uniquelabelfromleftandright)
create an auto-link
|
AutolinkObject(E objectforlink,
java.lang.String labelfromleft,
java.lang.String labelfromright)
creates an auto-link property with specific label from left or right
|
AutolinkObject(E objectforlink,
java.lang.String labelfromleft,
java.lang.String labelfromright,
boolean showlinktree)
creates an auto-link property with specific label from left or right
specifying tree display
|
AutolinkObject(E objectforlink,
java.lang.String labelfromleft,
java.lang.String labelfromright,
WidgetDisplayPriority priorityfromleft,
WidgetDisplayPriority priorityfromright)
creates an auto-link property with specific label from left or right and
specific priority
|
Modifier and Type | Method and Description |
---|---|
void |
controlAfterParentDefinition()
to be implemented if controls have to be performed after parent is added.
|
java.util.ArrayList<DataObjectDefinition> |
getExternalObjectDependence() |
java.lang.String |
getJavaType() |
java.lang.String |
getLabelFromLeft() |
java.lang.String |
getLabelFromRight() |
E |
getObjectforlink() |
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.
|
UniqueIdentified |
getUniqueIdentified() |
boolean |
isShowLinkTree() |
boolean |
isSymetricLink() |
void |
setFinalSettings()
an abstract method to be implemented by properties for finalizations to be
performed after all data objects have been created.
|
void |
setShowLinkTree(boolean showlinktree) |
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 AutolinkObject(E objectforlink, java.lang.String uniquelabelfromleftandright)
objectforlink
- object to linkuniquelabelfromleftandright
- unique label shown both on the left and
right widget (or the single widget if
symetric)public AutolinkObject(E objectforlink, java.lang.String labelfromleft, java.lang.String labelfromright)
objectforlink
- object to linklabelfromleft
- label when seeing the link from leftlabelfromright
- label when seeing the link from rightpublic AutolinkObject(E objectforlink, java.lang.String labelfromleft, java.lang.String labelfromright, boolean showlinktree)
objectforlink
- object to linklabelfromleft
- label when seeing the link from leftlabelfromright
- label when seeing the link from rightshowlinktree
- true if link should be shown as multi-level tree from
leftpublic AutolinkObject(E objectforlink, java.lang.String labelfromleft, java.lang.String labelfromright, WidgetDisplayPriority priorityfromleft, WidgetDisplayPriority priorityfromright)
objectforlink
- object to linklabelfromleft
- label when seeing the link from leftlabelfromright
- label when seeing the link from rightpriorityfromleft
- priority for the left widgetpriorityfromright
- priority for the right widgetpublic java.lang.String getLabelFromLeft()
public java.lang.String getLabelFromRight()
public UniqueIdentified getUniqueIdentified()
public boolean isShowLinkTree()
public void setShowLinkTree(boolean showlinktree)
showlinktree
- sets the display of link from left as a treepublic java.lang.String[] getPropertyInitMethod()
Property
getPropertyInitMethod
in class Property<AutolinkObject<E extends DataObjectDefinition>>
public java.util.ArrayList<DataObjectDefinition> getExternalObjectDependence()
getExternalObjectDependence
in class Property<AutolinkObject<E extends DataObjectDefinition>>
public E getObjectforlink()
public void setFinalSettings()
Property
setFinalSettings
in class Property<AutolinkObject<E extends DataObjectDefinition>>
public boolean isSymetricLink()
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 java.lang.String[] getPropertyExtractMethod()
Property
getPropertyExtractMethod
in class Property<AutolinkObject<E extends DataObjectDefinition>>
public void controlAfterParentDefinition()
Property
controlAfterParentDefinition
in class Property<AutolinkObject<E extends DataObjectDefinition>>
public java.lang.String[] getPropertyDeepCopyStatement()
Property
getPropertyDeepCopyStatement
in class Property<AutolinkObject<E extends DataObjectDefinition>>