Class FieldExaminer
java.lang.Object
ch.nolix.system.databaseobject.modelexaminer.DatabaseObjectExaminer
ch.nolix.system.objectdata.fieldexaminer.FieldExaminer
- All Implemented Interfaces:
IDatabaseObjectExaminer, IFieldExaminer
- Direct Known Subclasses:
MultiReferenceExaminer, MultiValueFieldTool, OptionalReferenceExaminer, OptionalValueFieldExaminer, ReferenceExaminer, ValueFieldExaminer
- Author:
- Silvan Wyss
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbelongsToEntity(IField field) booleanbelongsToLoadedEntity(IField field) booleancanReferenceBackBaseReference(IField field, IBaseReference baseReference) booleanisForMultiContent(IField field) booleanisForSingleContent(IField field) booleanisMandatoryButEmpty(IField field) booleanMethods inherited from class DatabaseObjectExaminer
isNewOrDeleted, isNewOrEdited, isNewOrEditedOrDeleted, isNewOrLoaded, isNewOrLoadedOrEditedMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IDatabaseObjectExaminer
isNewOrDeleted, isNewOrEdited, isNewOrEditedOrDeleted, isNewOrLoaded, isNewOrLoadedOrEdited
-
Constructor Details
-
FieldExaminer
public FieldExaminer()
-
-
Method Details
-
belongsToEntity
- Specified by:
belongsToEntityin interfaceIFieldExaminer- Parameters:
field-- Returns:
- true if the given field belongs to a
IEntity, false otherwise.
-
belongsToLoadedEntity
- Specified by:
belongsToLoadedEntityin interfaceIFieldExaminer- Parameters:
field-- Returns:
- true if the given field belongs to a loaded
IEntity, false otherwise.
-
canReferenceBackBaseReference
- Specified by:
canReferenceBackBaseReferencein interfaceIFieldExaminer- Parameters:
field-baseReference-- Returns:
- true if the given field can reference back the given baseReference, false otherwise.
-
isForMultiContent
- Specified by:
isForMultiContentin interfaceIFieldExaminer- Parameters:
field-- Returns:
- true if the given field is for multi content, false otherwise.
-
isForSingleContent
- Specified by:
isForSingleContentin interfaceIFieldExaminer- Parameters:
field-- Returns:
- true if the given field is for single content, false otherwise.
-
isMandatoryButEmpty
- Specified by:
isMandatoryButEmptyin interfaceIFieldExaminer- Parameters:
field-- Returns:
- true if the given field is mandatory but empty, false otherwise.
-
isSetForCaseWhenIsMandatoryAndNewOrEdited
- Specified by:
isSetForCaseWhenIsMandatoryAndNewOrEditedin interfaceIFieldExaminer- Parameters:
field-- Returns:
- true if the given field is new or edited but set, false otherwise.
-