|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.scape_project.watch.dao.AbstractDO<Property>
eu.scape_project.watch.dao.PropertyDAO
public final class PropertyDAO
Method Summary | |
---|---|
int |
count(String bindings)
Count the results of a query for Property . |
Property |
findByEntityTypeAndName(String entityTypeName,
String name)
Find a Property by the related EntityType and name. |
static PropertyDAO |
getInstance()
Get singleton instance. |
static String |
getPropertyRDFId(String entityType,
String propertyName)
Get the complete Property RDF Id to use in SPARQL. |
Collection<Property> |
listWithType(String type,
int start,
int max)
List properties of a type. |
List<Property> |
query(String bindings,
int start,
int max)
Query for Property . |
Methods inherited from class eu.scape_project.watch.dao.AbstractDO |
---|
addDOListener, count, delete, delete, findById, fireOnRemoved, fireOnUpdated, query, removeDOListener, save, save |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getPropertyRDFId(String entityType, String propertyName)
entityType
- The name of the entity type that contains this property.propertyName
- The name of the property.
public static PropertyDAO getInstance()
public Property findByEntityTypeAndName(String entityTypeName, String name)
Property
by the related EntityType
and name.
entityTypeName
- The name of the related EntityType
name
- the name of the Property
Property
or null
if not foundpublic List<Property> query(String bindings, int start, int max)
Property
.
bindings
- The query bindings, see
AbstractDO.query(Class, String, int, int)
start
- The index of the first item to retrievemax
- The maximum number of items to retrieve
Property
filtered by the above constraintsAbstractDO.query(Class, String, int, int)
public int count(String bindings)
Property
.
bindings
- The query bindings, see AbstractDO.count(Class, String)
public Collection<Property> listWithType(String type, int start, int max)
type
- The related EntityType
start
- the index of the first item to retrievemax
- the maximum number of items to retrieve
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |