Class AbstractFieldExaminer<F extends Field>
java.lang.Object
ch.nolix.system.database.databaseobjectexaminer.AbstractDatabaseObjectExaminer<F>
ch.nolix.system.objectdata.fieldexaminer.AbstractFieldExaminer<F>
- Type Parameters:
F- the type of theFields aAbstractFieldExamineris for
- All Implemented Interfaces:
IDatabaseObjectExaminer<F>, IFieldExaminer<F>
- Direct Known Subclasses:
FieldExaminer, MultiReferenceExaminer, MultiValueFieldExaminer, OptionalReferenceExaminer, OptionalValueFieldExaminer, ReferenceExaminer, ValueFieldExaminer
public abstract class AbstractFieldExaminer<F extends Field>
extends AbstractDatabaseObjectExaminer<F>
implements IFieldExaminer<F>
- Author:
- Silvan Wyss
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbelongsToEntity(F field) booleanbelongsToLoadedEntity(F field) booleancanReferenceBackBaseReference(F field, BaseReference baseReference) booleanisForMultiContent(F field) booleanisForSingleContent(F field) booleanisMandatoryButEmpty(F field) booleanMethods inherited from class AbstractDatabaseObjectExaminer
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
-
AbstractFieldExaminer
public AbstractFieldExaminer()
-
-
Method Details
-
belongsToEntity
- Specified by:
belongsToEntityin interfaceIFieldExaminer<F extends Field>- Parameters:
field-- Returns:
- true if the given field belongs to a
IEntity, false otherwise
-
belongsToLoadedEntity
- Specified by:
belongsToLoadedEntityin interfaceIFieldExaminer<F extends Field>- Parameters:
field-- Returns:
- true if the given field belongs to a loaded
IEntity, false otherwise
-
canReferenceBackBaseReference
- Specified by:
canReferenceBackBaseReferencein interfaceIFieldExaminer<F extends Field>- Parameters:
field-baseReference-- Returns:
- true if the given field can reference back the given baseReference, false otherwise
-
isForMultiContent
- Specified by:
isForMultiContentin interfaceIFieldExaminer<F extends Field>- Parameters:
field-- Returns:
- true if the given field is for multi content, false otherwise
-
isForSingleContent
- Specified by:
isForSingleContentin interfaceIFieldExaminer<F extends Field>- Parameters:
field-- Returns:
- true if the given field is for single content, false otherwise
-
isMandatoryButEmpty
- Specified by:
isMandatoryButEmptyin interfaceIFieldExaminer<F extends Field>- Parameters:
field-- Returns:
- true if the given field is mandatory but empty, false otherwise
-
isSetForCaseWhenIsMandatoryAndNewOrEdited
- Specified by:
isSetForCaseWhenIsMandatoryAndNewOrEditedin interfaceIFieldExaminer<F extends Field>- Parameters:
field-- Returns:
- true if the given field is new or edited but set, false otherwise
-