public class PartitionJdbcType extends AbstractJdbcType implements Partition
PartitionAttributedType.QUERY_ATTRIBUTE| Modifier and Type | Field and Description |
|---|---|
protected String |
configurationName |
protected String |
name |
protected String |
typeName |
dataSource, id, typeID| Constructor and Description |
|---|
PartitionJdbcType() |
PartitionJdbcType(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(AttributedType attributedType)
Delete
AttributedType |
void |
deleteRelationships(AttributedType attributedType)
Delete all the
Relationship the AttributedType
is involved in. |
<T extends Serializable> |
getAttribute(String name)
Return the attribute value with the specified name
|
Collection<Attribute<? extends Serializable>> |
getAttributes()
Returns a Map containing all attribute values for this IdentityType instance.
|
String |
getConfigurationName() |
String |
getName()
Returns the name of the partition.
|
String |
getTypeName() |
List<? extends AttributedType> |
load(Map<QueryParameter,Object[]> params,
Class<? extends AttributedType> attributedType)
Load a list of
AttributedType given various parameters |
AttributedType |
load(String id,
AttributedType attributedType)
Load an
AttributedType given its id |
AttributedType |
load(String id,
Class<? extends AttributedType> attributedType)
Load an
AttributedType given its id and the type |
void |
persist(AttributedType attributedType)
Store the
AttributedType in the database |
void |
removeAttribute(String name)
Remove the attribute with given name
|
void |
setAttribute(Attribute<? extends Serializable> attribute)
Set the specified attribute.
|
PartitionJdbcType |
setConfigurationName(String configurationName) |
PartitionJdbcType |
setName(String name) |
PartitionJdbcType |
setTypeName(String typeName) |
void |
update(AttributedType attributedType)
Update the stored
AttributedType in the database |
getDataSource, getId, getType, getValuesFromParamMap, setDataSource, setId, setTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, setIdprotected String name
protected String typeName
protected String configurationName
public PartitionJdbcType()
public PartitionJdbcType(String name)
public PartitionJdbcType setName(String name)
public String getName()
Partitionpublic String getTypeName()
public PartitionJdbcType setTypeName(String typeName)
public String getConfigurationName()
public PartitionJdbcType setConfigurationName(String configurationName)
public void setAttribute(Attribute<? extends Serializable> attribute)
AttributedTypesetAttribute in interface AttributedTypepublic void removeAttribute(String name)
AttributedTyperemoveAttribute in interface AttributedTypename - of attributepublic <T extends Serializable> Attribute<T> getAttribute(String name)
AttributedTypegetAttribute in interface AttributedTypename - of attributepublic Collection<Attribute<? extends Serializable>> getAttributes()
AttributedTypegetAttributes in interface AttributedTypepublic void delete(AttributedType attributedType)
AbstractJdbcTypeAttributedTypedelete in class AbstractJdbcTypepublic void deleteRelationships(AttributedType attributedType)
AbstractJdbcTypeRelationship the AttributedType
is involved in.deleteRelationships in class AbstractJdbcTypepublic void persist(AttributedType attributedType)
AbstractJdbcTypeAttributedType in the databasepersist in class AbstractJdbcTypepublic AttributedType load(String id, AttributedType attributedType)
AbstractJdbcTypeAttributedType given its idload in class AbstractJdbcTypepublic AttributedType load(String id, Class<? extends AttributedType> attributedType)
AbstractJdbcTypeAttributedType given its id and the typeload in class AbstractJdbcTypepublic List<? extends AttributedType> load(Map<QueryParameter,Object[]> params, Class<? extends AttributedType> attributedType)
AbstractJdbcTypeAttributedType given various parametersload in class AbstractJdbcTypepublic void update(AttributedType attributedType)
AbstractJdbcTypeAttributedType in the databaseupdate in class AbstractJdbcTypeCopyright © 2024. All rights reserved.