Class RelationModelBean
java.lang.Object
ch.tocco.nice2.rest.entitymodel.spi.beans.RelationModelBean
-
Constructor Summary
ConstructorDescriptionRelationModelBean
(String relationName, String targetEntity, String reverseRelationName, Boolean multi, LinkedHashMap<String, String> documentation, String definingModule, Map<String, Object> validation, RelationDisplayBean relationDisplay, @Nullable Object defaultValues, @Nullable String defaultValueType, boolean createPermission, boolean useRemoteFieldNewButton, String label) -
Method Summary
Modifier and TypeMethodDescription@Nullable Object
@Nullable String
getLabel()
getMulti()
boolean
boolean
void
setCreatePermission
(boolean createPermission) void
setDefaultValues
(@Nullable Object defaultValues) void
setDefaultValueType
(@Nullable String defaultValueType) void
setDefiningModule
(String definingModule) void
setDocumentation
(LinkedHashMap<String, String> documentation) void
void
void
setRelationDisplay
(RelationDisplayBean relationDisplay) void
setRelationName
(String relationName) void
setReverseRelationName
(String reverseRelationName) void
setTargetEntity
(String targetEntity) void
setUseRemoteFieldNewButton
(boolean useRemoteFieldNewButton) void
setValidation
(Map<String, Object> validation)
-
Constructor Details
-
RelationModelBean
public RelationModelBean() -
RelationModelBean
public RelationModelBean(String relationName, String targetEntity, String reverseRelationName, Boolean multi, LinkedHashMap<String, String> documentation, String definingModule, Map<String, Object> validation, RelationDisplayBean relationDisplay, @Nullable @Nullable Object defaultValues, @Nullable @Nullable String defaultValueType, boolean createPermission, boolean useRemoteFieldNewButton, String label)
-
-
Method Details
-
getRelationName
-
setRelationName
-
getTargetEntity
-
setTargetEntity
-
getReverseRelationName
-
setReverseRelationName
-
getMulti
-
setMulti
-
getDocumentation
-
setDocumentation
-
getDefiningModule
-
setDefiningModule
-
getValidation
-
setValidation
-
getDefaultValues
-
setDefaultValues
-
getRelationDisplay
-
setRelationDisplay
-
getDefaultValueType
-
setDefaultValueType
-
isCreatePermission
public boolean isCreatePermission() -
setCreatePermission
public void setCreatePermission(boolean createPermission) -
getUseRemoteFieldNewButton
public boolean getUseRemoteFieldNewButton() -
setUseRemoteFieldNewButton
public void setUseRemoteFieldNewButton(boolean useRemoteFieldNewButton) -
getLabel
-
setLabel
-