public class RelationshipJdbcType extends AbstractJdbcType
RelationshipAttributedType.QUERY_ATTRIBUTEdataSource, id, typeID| Constructor and Description |
|---|
RelationshipJdbcType() |
| 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.
|
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.
|
void |
update(AttributedType attributedType)
Update the stored
AttributedType in the database |
getDataSource, getId, getType, getValuesFromParamMap, setDataSource, setId, setTypepublic 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 AbstractJdbcTypepublic void setAttribute(Attribute<? extends Serializable> attribute)
AttributedTypepublic void removeAttribute(String name)
AttributedTypename - of attributepublic <T extends Serializable> Attribute<T> getAttribute(String name)
AttributedTypename - of attributepublic Collection<Attribute<? extends Serializable>> getAttributes()
AttributedTypeCopyright © 2024. All rights reserved.