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) |
Collection<Attribute<? extends Serializable>> |
getAttributes() |
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) |
void |
setAttribute(Attribute<? extends Serializable> 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)
public void removeAttribute(String name)
public <T extends Serializable> Attribute<T> getAttribute(String name)
public Collection<Attribute<? extends Serializable>> getAttributes()
Copyright © 2014. All Rights Reserved.