public interface Entity
| 修飾子とタイプ | メソッドと説明 |
|---|---|
DBMeta |
asDBMeta()
Handle the meta as DBMeta, that has all info of the table.
|
String |
asTableDbName()
Handle the meta as table DB name, that can be identity of table.
|
String |
buildDisplayString(String name,
boolean column,
boolean relation)
Build display string flexibly.
|
void |
clearModifiedInfo()
Clear the information of modified properties.
|
void |
clearSpecifiedInfo()
Clear the information of specified properties.
|
void |
clearUniqueDrivenInfo()
Clear the information of unique-driven properties.
|
boolean |
createdBySelect()
Is the entity created by DBFlute select process?
|
boolean |
hasModification()
Does it have modifications of property names.
|
boolean |
hasPrimaryKeyValue()
Does it have the value of primary keys?
|
int |
instanceHash()
Calculate the hash-code, which is a default hash code, to identify the instance.
|
void |
markAsSelect()
Mark as select that means the entity is created by DBFlute select process.
|
void |
modifiedToSpecified()
Copy to modified properties to specified properties.
|
Set<String> |
mymodifiedProperties()
Get the set of modified properties.
|
void |
mymodifyProperty(String propertyName)
Modify the property without setting value.
|
void |
mymodifyPropertyCancel(String propertyName)
Cancel the modified the property without resetting value.
|
Set<String> |
myspecifiedProperties()
Get the set of specified properties.
|
void |
myspecifyProperty(String propertyName)
Specify the property without setting value.
|
void |
myspecifyPropertyCancel(String propertyName)
Cancel the specified the property without resetting value.
|
boolean |
myundefinedClassificationAccessAllowed()
Does the access to undefined classification allowed?
|
void |
myuniqueByProperty(String propertyName)
Treat the property as unique driven without setting value.
|
void |
myuniqueByPropertyCancel(String propertyName)
Cancel the property as unique driven without resetting value.
|
Set<String> |
myuniqueDrivenProperties()
Get the properties of unique-driven columns as unique-driven.
|
void |
myunlockUndefinedClassificationAccess()
Unlock the access to undefined classification code.
|
String |
toStringWithRelation()
Convert the entity to display string with relation information.
|
DBMeta asDBMeta()
String asTableDbName()
Set<String> mymodifiedProperties()
void mymodifyProperty(String propertyName)
propertyName - The property name of modified column. (NotNull)void mymodifyPropertyCancel(String propertyName)
propertyName - The property name of specified column. (NotNull)void clearModifiedInfo()
boolean hasModification()
void modifiedToSpecified()
Set<String> myspecifiedProperties()
void myspecifyProperty(String propertyName)
propertyName - The property name of specified column. (NotNull)void myspecifyPropertyCancel(String propertyName)
propertyName - The property name of specified column. (NotNull)void clearSpecifiedInfo()
boolean hasPrimaryKeyValue()
Set<String> myuniqueDrivenProperties()
void myuniqueByProperty(String propertyName)
propertyName - The property name of unique-driven column. (NotNull)void myuniqueByPropertyCancel(String propertyName)
propertyName - The property name of unique-driven column. (NotNull)void clearUniqueDrivenInfo()
void myunlockUndefinedClassificationAccess()
boolean myundefinedClassificationAccessAllowed()
void markAsSelect()
boolean createdBySelect()
int instanceHash()
String toStringWithRelation()
String buildDisplayString(String name, boolean column, boolean relation)
name - The name for display. (NullAllowed: If it's null, it does not have a name)column - Does it contains column values or not?relation - Does it contains relation existences or not?Copyright © 2014–2015 The DBFlute Project. All rights reserved.