public class UniqueIdentified extends Property<UniqueIdentified>
StoredObject
Property.PropertyElementDisplayDefinition
FIELDDIPLSAY_TITLE_MOD, FIELDDISPLAY_BOTTOMNOTES, FIELDDISPLAY_NONE, FIELDDISPLAY_NORMAL, FIELDDISPLAY_NORMAL_MOD, FIELDDISPLAY_TITLE, parent
Constructor and Description |
---|
UniqueIdentified()
creates the unique identified property
|
Modifier and Type | Method and Description |
---|---|
void |
addActionOnObjectId(DynamicActionDefinition action)
adds action in the main button band of the object.
|
void |
addActionOnObjectId(DynamicActionDefinition action,
boolean actioninmanagetab)
adds an action on the object, either in the main button band, or in the
manage tab
|
void |
controlAfterParentDefinition()
to be implemented if controls have to be performed after parent is added.
|
NamedList<DynamicActionDefinition> |
getActionListonObjectId() |
NamedList<DynamicActionDefinition> |
getActionListonObjectIdForManageTab() |
java.util.ArrayList<DataObjectDefinition> |
getExternalObjectDependence() |
java.lang.String |
getJavaType() |
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.
|
StoredObject |
getStoredObject() |
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 UniqueIdentified()
public NamedList<DynamicActionDefinition> getActionListonObjectId()
public NamedList<DynamicActionDefinition> getActionListonObjectIdForManageTab()
public StoredObject getStoredObject()
public java.lang.String[] getPropertyDeepCopyStatement()
Property
getPropertyDeepCopyStatement
in class Property<UniqueIdentified>
public void controlAfterParentDefinition()
Property
controlAfterParentDefinition
in class Property<UniqueIdentified>
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.util.ArrayList<DataObjectDefinition> getExternalObjectDependence()
getExternalObjectDependence
in class Property<UniqueIdentified>
public void addActionOnObjectId(DynamicActionDefinition action)
action
- adds an action on the object id. The action should have a
single input attribute being the data object idpublic void addActionOnObjectId(DynamicActionDefinition action, boolean actioninmanagetab)
action
- adds an action on the object id. The action should
have a single input attribute being the data object
idactioninmanagetab
- if true, action is put in manage tabs, if false,
action is directly in the action buttonpublic java.lang.String[] getPropertyInitMethod()
Property
getPropertyInitMethod
in class Property<UniqueIdentified>
public void setFinalSettings()
Property
setFinalSettings
in class Property<UniqueIdentified>
public java.lang.String[] getPropertyExtractMethod()
Property
getPropertyExtractMethod
in class Property<UniqueIdentified>