liquibase.structure.core.Table ,
liquibase.structure.core.PrimaryKey and liquibase.structure.core.Column .
The most important abilities of every DatabaseObject are:
AbstractDatabaseObject
| Modifier and Type | Method and Description |
|---|---|
| public < the desired type of the value T> T | Returns:
case-sensitive name of the attribute for which the value will be retrieved attribute, Class<T> class compatible with the desired type T of the return value type)Retrieves the value of a |
| public < the desired type of the value T> T | Returns:
case-sensitive name of the attribute for which the value will be retrieved attribute, T the value to be returned if no value (not even null) is stored for the attribute name in the
object. defaultValue)Retrieves the value of a |
| public Set | Returns: the Set of all attribute namesReturns the name of all attributes currently stored for this |
| public DatabaseObject[] | |
| public String | |
| public String | |
| public Schema | |
| public String | |
| public DatabaseObject | Returns: a reference to the same objectcase-sensitive name of the attribute attribute, Object value to be set value)Sets a given attribute for this object to the specified value. |
| public DatabaseObject | |
| public void | |
| public boolean |
| getAttribute | back to summary |
|---|---|
| public <T> T getAttribute(String attribute, Class<T> type) Retrieves the value of a
| |
| getAttribute | back to summary |
|---|---|
| public <T> T getAttribute(String attribute, T defaultValue) Retrieves the value of a
| |
| getAttributes | back to summary |
|---|---|
| public Set Returns the name of all attributes currently stored for this | |
| getContainingObjects | back to summary |
|---|---|
| public DatabaseObject[] getContainingObjects() | |
| getName | back to summary |
|---|---|
| public String getName() | |
| getObjectTypeName | back to summary |
|---|---|
| public String getObjectTypeName() | |
| getSchema | back to summary |
|---|---|
| public Schema getSchema() | |
| getSnapshotId | back to summary |
|---|---|
| public String getSnapshotId() | |
| setAttribute | back to summary |
|---|---|
| public DatabaseObject setAttribute(String attribute, Object value) Sets a given attribute for this object to the specified value.
| |
| setName | back to summary |
|---|---|
| public DatabaseObject setName(String name) Sets the name for the database object.
| |
| setSnapshotId | back to summary |
|---|---|
| public void setSnapshotId(String id) | |
| snapshotByDefault | back to summary |
|---|---|
| public boolean snapshotByDefault() | |