C
- type of context objectE
- type of exception objectpublic abstract class DataModelScanner<C,E extends Throwable> extends Object
DataModelDefinition
.Constructor and Description |
---|
DataModelScanner() |
Modifier and Type | Method and Description |
---|---|
void |
anyProperty(PropertyName name,
C context)
Invoked each property.
|
void |
booleanProperty(PropertyName name,
C context)
Invoked each
Boolean property. |
void |
byteProperty(PropertyName name,
C context)
Invoked each
Byte property. |
void |
dateProperty(PropertyName name,
C context)
Invoked each
PropertyType.DATE property. |
void |
datetimeProperty(PropertyName name,
C context)
Invoked each
PropertyType.DATETIME property. |
void |
decimalProperty(PropertyName name,
C context)
Invoked each
BigDecimal property. |
void |
doubleProperty(PropertyName name,
C context)
Invoked each
Double property. |
void |
floatProperty(PropertyName name,
C context)
Invoked each
Float property. |
void |
integerProperty(PropertyName name,
C context)
Invoked each
BigInteger property. |
void |
intProperty(PropertyName name,
C context)
Invoked each
Integer property. |
void |
longProperty(PropertyName name,
C context)
Invoked each
Long property. |
void |
objectProperty(PropertyName name,
C context)
Invoked each
DataModelReflection property. |
void |
scan(DataModelDefinition<?> definition,
C context)
Starts scan and visits each property method.
|
void |
scan(DataModelDefinition<?> definition,
PropertyName name,
C context)
Scans about single property.
|
void |
sequenceProperty(PropertyName name,
C context)
Invoked each
Sequence property. |
void |
shortProperty(PropertyName name,
C context)
Invoked each
Short property. |
void |
stringProperty(PropertyName name,
C context)
Invoked each
String property. |
void |
timeProperty(PropertyName name,
C context)
Invoked each
PropertyType.TIME property. |
public void scan(DataModelDefinition<?> definition, C context) throws E extends Throwable
definition
- the model definitioncontext
- context objects (nullable)E
- if failedIllegalArgumentException
- if some parameters were null
E extends Throwable
public void scan(DataModelDefinition<?> definition, PropertyName name, C context) throws E extends Throwable
definition
- the model definitionname
- target property namecontext
- context object (nullable)E
- if failedIllegalArgumentException
- if some parameters were null
E extends Throwable
public void booleanProperty(PropertyName name, C context) throws E extends Throwable
Boolean
property.name
- property namecontext
- context object (specified in scan(DataModelDefinition, Object)
)E
- if failedE extends Throwable
public void byteProperty(PropertyName name, C context) throws E extends Throwable
Byte
property.name
- property namecontext
- context object (specified in scan(DataModelDefinition, Object)
)E
- if failedE extends Throwable
public void shortProperty(PropertyName name, C context) throws E extends Throwable
Short
property.name
- property namecontext
- context object (specified in scan(DataModelDefinition, Object)
)E
- if failedE extends Throwable
public void intProperty(PropertyName name, C context) throws E extends Throwable
Integer
property.name
- property namecontext
- context object (specified in scan(DataModelDefinition, Object)
)E
- if failedE extends Throwable
public void longProperty(PropertyName name, C context) throws E extends Throwable
Long
property.name
- property namecontext
- context object (specified in scan(DataModelDefinition, Object)
)E
- if failedE extends Throwable
public void integerProperty(PropertyName name, C context) throws E extends Throwable
BigInteger
property.name
- property namecontext
- context object (specified in scan(DataModelDefinition, Object)
)E
- if failedE extends Throwable
public void floatProperty(PropertyName name, C context) throws E extends Throwable
Float
property.name
- property namecontext
- context object (specified in scan(DataModelDefinition, Object)
)E
- if failedE extends Throwable
public void doubleProperty(PropertyName name, C context) throws E extends Throwable
Double
property.name
- property namecontext
- context object (specified in scan(DataModelDefinition, Object)
)E
- if failedE extends Throwable
public void decimalProperty(PropertyName name, C context) throws E extends Throwable
BigDecimal
property.name
- property namecontext
- context object (specified in scan(DataModelDefinition, Object)
)E
- if failedE extends Throwable
public void stringProperty(PropertyName name, C context) throws E extends Throwable
String
property.name
- property namecontext
- context object (specified in scan(DataModelDefinition, Object)
)E
- if failedE extends Throwable
public void dateProperty(PropertyName name, C context) throws E extends Throwable
PropertyType.DATE
property.name
- property namecontext
- context object (specified in scan(DataModelDefinition, Object)
)E
- if failedE extends Throwable
public void timeProperty(PropertyName name, C context) throws E extends Throwable
PropertyType.TIME
property.name
- property namecontext
- context object (specified in scan(DataModelDefinition, Object)
)E
- if failedE extends Throwable
public void datetimeProperty(PropertyName name, C context) throws E extends Throwable
PropertyType.DATETIME
property.name
- property namecontext
- context object (specified in scan(DataModelDefinition, Object)
)E
- if failedE extends Throwable
public void sequenceProperty(PropertyName name, C context) throws E extends Throwable
Sequence
property.name
- property namecontext
- context object (specified in scan(DataModelDefinition, Object)
)E
- if failedE extends Throwable
public void objectProperty(PropertyName name, C context) throws E extends Throwable
DataModelReflection
property.name
- property namecontext
- context object (specified in scan(DataModelDefinition, Object)
)E
- if failedE extends Throwable
public void anyProperty(PropertyName name, C context) throws E extends Throwable
name
- property namecontext
- context object (specified in scan(DataModelDefinition, Object)
)E
- if failedE extends Throwable
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.