protected class DefaultPropertyType.DefaultProperty extends java.lang.Object implements Property<ENTITY,BASIC>
| Modifier and Type | Field and Description |
|---|---|
protected org.seasar.doma.internal.jdbc.scalar.Scalar<BASIC,CONTAINER> |
scalar |
| Modifier | Constructor and Description |
|---|---|
protected |
DefaultProperty() |
| Modifier and Type | Method and Description |
|---|---|
InParameter<BASIC> |
asInParameter()
Returns this property as
InParameter. |
java.lang.Object |
get()
Returns the value of this property.
|
java.lang.Object |
getAsNonOptional()
Return the non optional value of this property.
|
java.util.Optional<java.lang.Class<?>> |
getDomainClass()
Returns the domain class if this object is mapped to the domain class.
|
Wrapper<BASIC> |
getWrapper()
Returns the wrapper.
|
Property<ENTITY,BASIC> |
load(ENTITY entity)
Loads the value from the entity to this property.
|
Property<ENTITY,BASIC> |
save(ENTITY entity)
Saves the value from this property to the entity.
|
java.lang.String |
toString() |
public java.lang.Object get()
Propertypublic java.lang.Object getAsNonOptional()
PropertygetAsNonOptional in interface Property<ENTITY,BASIC>public Property<ENTITY,BASIC> load(ENTITY entity)
Propertypublic Property<ENTITY,BASIC> save(ENTITY entity)
Propertypublic InParameter<BASIC> asInParameter()
PropertyInParameter.asInParameter in interface Property<ENTITY,BASIC>public Wrapper<BASIC> getWrapper()
JdbcMappablegetWrapper in interface JdbcMappable<BASIC>public java.util.Optional<java.lang.Class<?>> getDomainClass()
JdbcMappingHintgetDomainClass in interface JdbcMappingHintpublic java.lang.String toString()
toString in class java.lang.Object