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
Modifier and TypeClassDescriptionclass
class
class
Nested 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
ConstructorDescriptionDefaultCosIdAccessor
(IdDefinition idDefinition, CosIdGetter getter, CosIdSetter setter) -
Method Summary
Methods inherited from class me.ahoo.cosid.accessor.AbstractIdMetadata
getIdDefinition, getIdGenerator
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface me.ahoo.cosid.accessor.IdMetadata
getGeneratorName, getIdDeclaringClass, getIdDefinition, getIdField, getIdGenerator, getIdType
-
Constructor Details
-
DefaultCosIdAccessor
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceCosIdGetter
-
setId
- Specified by:
setId
in interfaceCosIdSetter
-
getGetter
-
getSetter
-
ensureId
Description copied from interface:EnsureId
Ensure that the target object has an ID set.
-