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 voidappendSelect(com.exedio.cope.Statement bf, Join join) Deprecated.For internal use within COPE only.final voidDeprecated.For internal use within COPE only.final booleanfinal Eget(FieldValues item) final Efinal ObjectDeprecated.useget(Item)instead.final Type<?>getType()ReturnsSelectable.getValueType().getJavaClass()final inthashCode()protected abstract EMethods inherited from class com.exedio.cope.Feature
afterModelCreated, getAbstractType, getAnnotation, getID, getLocalizationKeys, getName, getPattern, isAnnotationPresent, isSourceAlready, mount, readResolve, requireMounted, toString, toString, writeReplaceMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, notEqualMethods 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:
checkin interfaceSelectable<E>
-
get
-
get
-
getObject
Deprecated.useget(Item)instead. -
getValueClass
Description copied from interface:SelectableReturnsSelectable.getValueType().getJavaClass()- Specified by:
getValueClassin interfaceSelectable<E>
-
appendSelect
Deprecated.For internal use within COPE only.- Specified by:
appendSelectin interfaceSelectable<E>
-
equals
-
hashCode
public final int hashCode() -
getType
- Specified by:
getTypein interfaceSelectable<E>- Overrides:
getTypein classFeature- See Also:
-