Package de.haumacher.msgbuf.generator
Interface FieldOperations
- All Known Implementing Classes:
Field
public interface FieldOperations
Mix-in interface for
Field providing operations.- Author:
- Bernhard Haumacher
-
Method Summary
Modifier and TypeMethodDescriptiondefault Fielddefault StringThe name of the inverse reference of this one.default OptionThe annotation marking this reference as "reverse".default booleanWhether this is a derived reference pointing to the owner of the object this referenec belongs to.default booleanWhether this field cannot be set by the applicationdefault booleanisRef()Whether this is a cross reference (not a composition which is the default).default booleanWhether this is a reverse reference.default booleanisReverseOf(String name) Whether this field is the reverse to the reference with the given name.self()The implementation.
-
Method Details
-
self
Field self()The implementation. -
isDerived
default boolean isDerived()Whether this field cannot be set by the application -
isContainer
default boolean isContainer()Whether this is a derived reference pointing to the owner of the object this referenec belongs to. -
isRef
default boolean isRef()Whether this is a cross reference (not a composition which is the default). -
isReverse
default boolean isReverse()Whether this is a reverse reference. -
isReverseOf
Whether this field is the reverse to the reference with the given name. -
getReverse
The name of the inverse reference of this one.- Returns:
- The name of the reverse reference to this one, or
nullif no such reference exists.
-
getReverseAnnotation
The annotation marking this reference as "reverse". -
container
-