Package de.uplanet.lucy.server.rtcache
Interface FieldInfo
-
- All Superinterfaces:
de.uplanet.lucy.server.rtcache.ILanguageConstant
,de.uplanet.lucy.server.util.ILanguageConstantOrTitle
,de.uplanet.lucy.server.rtcache.IRtInfo
,de.uplanet.lucy.server.rtcache.IRtInfoWithTitle
@Scriptable public interface FieldInfo extends de.uplanet.lucy.server.rtcache.IRtInfo, de.uplanet.lucy.server.rtcache.IRtInfoWithTitle, de.uplanet.lucy.server.util.ILanguageConstantOrTitle
Information about data fields.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAppGuid()
Get the application GUID the field belongs to.String
getAppRefGuid()
Get application reference GUID.FieldInfo
getCalcField()
Get calculated field.String
getCalcFieldGuid()
Get GUID of calculated field.String
getColumnName()
Get the physical database column name.String
getDataGroupGuid()
Get the data group GUID.String
getDataHandler()
Get the data handler.de.uplanet.lucy.types.UP_TYPE
getDataType()
Get the data type.String
getFileHandler()
Get the fields handler class.String
getGuid()
Get the field GUID.String
getName()
Get the name.String
getOperationLayerActionMode()
FieldInfo
getParentField()
Get parent field.String
getParentFieldGuid()
Get GUID of parent field.int
getPrecision()
The data type precision.de.uplanet.lucy.server.property.IPropertyCollection
getProperties()
The field propertiesFieldInfo
getReferencedField()
Get the referenced field, if this is a reference.String
getReferenceFieldGuid()
Get the referenced field GUID.int
getSize()
The data type scale.String
getSysIdent()
Get the sysIdent.String
getTableName()
Get the table name.boolean
isFileField()
Return, if field is plugin field.boolean
isInheritPermission()
Use in file fields only.boolean
isInternalField()
return Returnstrue
if the field should only be used in internal, not for filters or control and so on.boolean
isNotFiltered()
Return, if field is NOT filtered.boolean
isPrimaryKey()
Return, if field is a primary key field.boolean
isReference()
Return, if field is a reference field.boolean
isSystem()
Return, if field is system field.
-
-
-
Method Detail
-
getGuid
String getGuid()
Get the field GUID.- Returns:
- The GUID (not
null
).
-
getAppGuid
String getAppGuid()
Get the application GUID the field belongs to.- Returns:
- The application GUID (not
null
).
-
getDataGroupGuid
String getDataGroupGuid()
Get the data group GUID.- Returns:
- The data group GUID. (not
null
).
-
getTableName
String getTableName()
Get the table name.- Returns:
- The table name.
-
getName
String getName()
Get the name.- Returns:
- The name (not
null
).
-
getColumnName
String getColumnName()
Get the physical database column name.- Returns:
- The column name (not
null
).
-
getDataType
de.uplanet.lucy.types.UP_TYPE getDataType()
Get the data type.- Returns:
- The data type (not
null
).
-
getPrecision
int getPrecision()
The data type precision.- Returns:
- The data type precision.
-
getSize
int getSize()
The data type scale.- Returns:
- The data type scale.
-
getDataHandler
String getDataHandler()
Get the data handler.- Returns:
- the data handler (not
null
).
-
getSysIdent
String getSysIdent()
Get the sysIdent.- Returns:
- the sysIdent (could be
null
).
-
isSystem
boolean isSystem()
Return, if field is system field.- Returns:
true
orfalse
.
-
isReference
boolean isReference()
Return, if field is a reference field.- Returns:
true
orfalse
.
-
isPrimaryKey
boolean isPrimaryKey()
Return, if field is a primary key field.- Returns:
true
orfalse
.
-
isNotFiltered
boolean isNotFiltered()
Return, if field is NOT filtered.- Returns:
true
if not filtered,false
otherwise.
-
getParentFieldGuid
String getParentFieldGuid()
Get GUID of parent field.- Returns:
- Parent GUID (could be
null
).
-
getParentField
FieldInfo getParentField()
Get parent field.- Returns:
- Parent field (could be
null
).
-
getAppRefGuid
String getAppRefGuid()
Get application reference GUID.- Returns:
- The reference GUID (could be
null
).
-
getReferenceFieldGuid
String getReferenceFieldGuid()
Get the referenced field GUID.- Returns:
- The referenced field GUID (could be
null
).
-
getReferencedField
FieldInfo getReferencedField()
Get the referenced field, if this is a reference.- Returns:
- The referenced field, or
null
if this field is not a reference field.
-
getCalcFieldGuid
String getCalcFieldGuid()
Get GUID of calculated field.- Returns:
- The calculated field GUID (could be
null
).
-
getCalcField
FieldInfo getCalcField()
Get calculated field.- Returns:
FieldInfo
of calculated field (could benull
).
-
isFileField
boolean isFileField()
Return, if field is plugin field.- Returns:
true
orfalse
.
-
getFileHandler
String getFileHandler()
Get the fields handler class.- Returns:
- The field handler class (could be
null
).
-
getProperties
de.uplanet.lucy.server.property.IPropertyCollection getProperties()
The field properties- Returns:
- The field properties (not
null
).
-
isInheritPermission
boolean isInheritPermission()
Use in file fields only. return Returnstrue
if the permissions will be inherit from the data group.
-
isInternalField
boolean isInternalField()
return Returnstrue
if the field should only be used in internal, not for filters or control and so on.
-
getOperationLayerActionMode
String getOperationLayerActionMode()
- Returns:
- Returns the operation layer action mode
-
-