Package com.exedio.cope
Class View<E>
java.lang.Object
com.exedio.cope.Feature
com.exedio.cope.View<E>
- All Implemented Interfaces:
Function<E>
,Selectable<E>
,Serializable
- Direct Known Subclasses:
CoalesceView
,NumberView
,StringView
A
view
represents a value computed from the
fields of a Type
.
The computation is available both in Java and SQL,
so you can use views in search conditions.- Author:
- Ralf Wiebicke
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
appendSelect
(com.exedio.cope.Statement bf, Join join) Deprecated.For internal use within COPE only.final void
Deprecated.For internal use within COPE only.final boolean
final E
get
(FieldValues item) final E
final Object
Deprecated.useget(Item)
instead.final Type<?>
getType()
ReturnsSelectable.getValueType()
.getJavaClass()
final int
hashCode()
protected abstract E
Methods inherited from class com.exedio.cope.Feature
afterModelCreated, getAbstractType, getAnnotation, getID, getLocalizationKeys, getName, getPattern, isAnnotationPresent, isSourceAlready, mount, readResolve, requireMounted, toString, toString, writeReplace
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.exedio.cope.Function
any, between, bind, equal, equal, equal, greater, greater, greaterOrEqual, greaterOrEqual, in, in, isNotNull, isNull, less, less, lessOrEqual, lessOrEqual, max, min, notEqual, notEqual
Methods inherited from interface com.exedio.cope.Selectable
append, getValueType, toString
-
Constructor Details
-
View
-
-
Method Details
-
getSources
-
mapJava
-
check
Deprecated.For internal use within COPE only.- Specified by:
check
in interfaceSelectable<E>
-
get
-
get
-
getObject
Deprecated.useget(Item)
instead. -
getValueClass
Description copied from interface:Selectable
ReturnsSelectable.getValueType()
.getJavaClass()
- Specified by:
getValueClass
in interfaceSelectable<E>
-
appendSelect
Deprecated.For internal use within COPE only.- Specified by:
appendSelect
in interfaceSelectable<E>
-
equals
-
hashCode
public final int hashCode() -
getType
- Specified by:
getType
in interfaceSelectable<E>
- Overrides:
getType
in classFeature
- See Also:
-