Package me.ahoo.cosid.accessor
Class DefaultCosIdAccessor
java.lang.Object
me.ahoo.cosid.accessor.AbstractIdMetadata
me.ahoo.cosid.accessor.DefaultCosIdAccessor
- All Implemented Interfaces:
CosIdAccessor,CosIdGetter,CosIdSetter,EnsureId,IdMetadata
Default
CosIdAccessor implementation.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassclassNested classes/interfaces inherited from interface me.ahoo.cosid.accessor.CosIdAccessor
CosIdAccessor.NotFound -
Field Summary
Fields inherited from interface me.ahoo.cosid.accessor.CosIdAccessor
NOT_FOUND -
Constructor Summary
ConstructorsConstructorDescriptionDefaultCosIdAccessor(IdDefinition idDefinition, CosIdGetter getter, CosIdSetter setter) -
Method Summary
Methods inherited from class me.ahoo.cosid.accessor.AbstractIdMetadata
getIdDefinition, getIdGeneratorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.ahoo.cosid.accessor.IdMetadata
getGeneratorName, getIdDeclaringClass, getIdDefinition, getIdField, getIdGenerator, getIdType
-
Constructor Details
-
DefaultCosIdAccessor
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceCosIdGetter
-
setId
- Specified by:
setIdin interfaceCosIdSetter
-
getGetter
-
getSetter
-
ensureId
Description copied from interface:EnsureIdEnsure that the target object has an ID set.
-