|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.contentmanagement.gcubedocumentlibrary.projections.Projections
public class Projections
A set of facilities to construct and manipulate Projection
s.
Field Summary | |
---|---|
static PropertyTypes.DocumentProperty |
ALTERNATIVE
|
static PropertyTypes.DocumentProperty |
ANNOTATION
|
static PropertyTypes.CommonProperty |
BYTESTREAM
|
static PropertyTypes.CommonProperty |
BYTESTREAM_URI
|
static PropertyTypes.CommonProperty |
CREATION_TIME
|
static PropertyTypes.CommonProperty |
LANGUAGE
|
static PropertyTypes.CommonProperty |
LAST_UPDATE
|
static PropertyTypes.CommonProperty |
LENGTH
|
static PropertyTypes.DocumentProperty |
METADATA
|
static PropertyTypes.CommonProperty |
MIME_TYPE
|
static PropertyTypes.CommonProperty |
NAME
|
static PropertyTypes.PartProperty |
ORDER
|
static PropertyTypes.DocumentProperty |
PART
|
static PropertyTypes.AnnotationProperty |
PREVIOUS
|
static PropertyTypes.CommonProperty |
PROPERTY
|
static PropertyTypes.ElementProperty |
PROPERTY_TYPE
|
static PropertyTypes.ElementProperty |
PROPERTY_VALUE
|
static PropertyTypes.CommonProperty |
SCHEMA_NAME
|
static PropertyTypes.CommonProperty |
SCHEMA_URI
|
static PropertyTypes.CommonProperty |
TYPE
|
Constructor Summary | |
---|---|
Projections()
|
Method Summary | ||
---|---|---|
static AlternativeProjection |
alternative()
Creates an AlternativeProjection . |
|
static AnnotationProjection |
annotation()
Creates an AnnotationProjection . |
|
static DocumentProjection |
document()
Creates a DocumentProjection . |
|
static MetadataProjection |
metadata()
Creates a MetadataProjection . |
|
static
|
opt(P prop)
Makes the default constraint on a Property optional. |
|
static
|
opt(P prop,
Predicate p)
Returns a Property with a optional constraint. |
|
static
|
opt(P prop,
Projection<?,?> p)
Returns a Property with a optional constraint. |
|
static PartProjection |
part()
Creates a PartProjection . |
|
static PropertyProjection |
property()
Creates a PropertyProjection . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final PropertyTypes.CommonProperty NAME
public static final PropertyTypes.CommonProperty TYPE
public static final PropertyTypes.CommonProperty CREATION_TIME
public static final PropertyTypes.CommonProperty BYTESTREAM
public static final PropertyTypes.CommonProperty BYTESTREAM_URI
public static final PropertyTypes.CommonProperty LAST_UPDATE
public static final PropertyTypes.CommonProperty MIME_TYPE
public static final PropertyTypes.CommonProperty LENGTH
public static final PropertyTypes.CommonProperty LANGUAGE
public static final PropertyTypes.CommonProperty PROPERTY
public static final PropertyTypes.CommonProperty SCHEMA_URI
public static final PropertyTypes.CommonProperty SCHEMA_NAME
public static final PropertyTypes.ElementProperty PROPERTY_TYPE
public static final PropertyTypes.ElementProperty PROPERTY_VALUE
public static final PropertyTypes.DocumentProperty METADATA
public static final PropertyTypes.DocumentProperty ANNOTATION
public static final PropertyTypes.DocumentProperty PART
public static final PropertyTypes.DocumentProperty ALTERNATIVE
public static final PropertyTypes.AnnotationProperty PREVIOUS
public static final PropertyTypes.PartProperty ORDER
Constructor Detail |
---|
public Projections()
Method Detail |
---|
public static DocumentProjection document()
DocumentProjection
.
DocumentProjection
.public static MetadataProjection metadata()
MetadataProjection
.
MetadataProjection
.public static AnnotationProjection annotation()
AnnotationProjection
.
AnnotationProjection
.public static AlternativeProjection alternative()
AlternativeProjection
.
AlternativeProjection
.public static PartProjection part()
PartProjection
.
PartProjection
.public static PropertyProjection property()
PropertyProjection
.
PropertyProjection
.public static <P extends Property> P opt(P prop)
Property
optional.
P
- the type of the property.prop
- the property.
public static <P extends Property> P opt(P prop, Projection<?,?> p)
Property
with a optional constraint.
P
- the type of the property.prop
- the property.p
- the constraint.
public static <P extends Property> P opt(P prop, Predicate p)
Property
with a optional constraint.
P
- the type of the property.prop
- the property.p
- the constraint.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |