Package tilda.parsing.parts
Class ViewRealizedWrapper
- java.lang.Object
-
- tilda.parsing.parts.Base
-
- tilda.parsing.parts.ViewRealizedWrapper
-
public class ViewRealizedWrapper extends Base
-
-
Field Summary
Fields Modifier and Type Field Description Object
_O
boolean
_Validated
-
Fields inherited from class tilda.parsing.parts.Base
_AppDataClassName, _AppFactoryClassName, _BaseClassName, _Description, _DescriptionX, _EntityClass, _HasUniqueQuery, _JsonDEPRECATED, _Masks, _Mode, _ModeStr, _Name, _OriginalDescription, _OriginalName, _OutputMaps, _PadderColumnNames, _ParentSchema, _Prefix, _Queries, _RealizedObj, _RealizedView, _ReferenceTag, _ReferenceUrl, _ShortAlias_DEPRECATED, _TenantInit, _TildaType
-
-
Constructor Summary
Constructors Constructor Description ViewRealizedWrapper(Object O, View V)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBaseName()
Column
getColumn(java.lang.String name)
java.lang.String[]
getColumnNames()
java.lang.String[]
getFirstIdentityColumnNames(boolean naturalIdentitiesFirst)
Returns the list of columns that represent the first identity of the object.java.lang.String
getFullName()
ObjectLifecycle
getLifecycle()
Schema
getSchema()
java.lang.String
getShortName()
boolean
isOCC()
protected boolean
validate(ParserSession PS, Schema ParentSchema)
-
Methods inherited from class tilda.parsing.parts.Base
expandColumnNames, expandColumnNames, getAppDataClassName, getAppFactoryClassName, getBaseClassName, getColumnPad, getOutputMap, getQuery, hasMasking, validateMasks, validateOutputMaps, validateQueries
-
-
-
-
Field Detail
-
_O
public Object _O
-
_Validated
public transient boolean _Validated
-
-
Method Detail
-
validate
protected boolean validate(ParserSession PS, Schema ParentSchema)
-
getColumnNames
public java.lang.String[] getColumnNames()
- Specified by:
getColumnNames
in classBase
-
getLifecycle
public ObjectLifecycle getLifecycle()
- Specified by:
getLifecycle
in classBase
-
getBaseName
public java.lang.String getBaseName()
- Overrides:
getBaseName
in classBase
- Returns:
- simply the name of the object, i.e. _Name
-
getShortName
public java.lang.String getShortName()
- Overrides:
getShortName
in classBase
- Returns:
- simply the name of the schema + '.' + the name of the object.
-
getFullName
public java.lang.String getFullName()
- Overrides:
getFullName
in classBase
- Returns:
- the FULL name of the schema (including the package name) + '.' + the name of the object.
-
getFirstIdentityColumnNames
public java.lang.String[] getFirstIdentityColumnNames(boolean naturalIdentitiesFirst)
Description copied from class:Base
Returns the list of columns that represent the first identity of the object. If a PK is defined, the columns defined for it will be returned. Otherwise, the columns for the first defined unique index will be returned. Null is returned otherwise, that that should never happen because all Objects are required to have at least one identity.
This method should only be called AFTERObject.validate(ParserSession, Schema)
has been called first.- Specified by:
getFirstIdentityColumnNames
in classBase
- Returns:
-
-