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 SummaryModifier and TypeMethodDescriptionGet the application GUID the field belongs to.Get application reference GUID.Get calculated field.Get GUID of calculated field.Get the physical database column name.Get the data group GUID.Get the data handler.de.uplanet.lucy.types.UP_TYPEGet the data type.Get the fields handler class.getGuid()Get the field GUID.getName()Get the name.Get parent field.Get GUID of parent field.intThe data type precision.de.uplanet.lucy.server.property.IPropertyCollectionThe field propertiesGet the referenced field, if this is a reference.Get the referenced field GUID.intgetSize()The data type scale.Get the sysIdent.Get the table name.booleanReturn, if field is plugin field.booleanUse in file fields only.booleanreturn Returnstrueif the field should only be used in internal, not for filters or control and so on.booleanReturn, if field is NOT filtered.booleanReturn, if field is a primary key field.booleanReturn, if field is a reference key field.booleanReturntrueif field is a reference field or the reference key field.booleanisSystem()Return, if field is system field.Methods inherited from interface de.uplanet.lucy.server.rtcache.ILanguageConstantgetLanguageConstantAppGuid, getLanguageConstantName, getLanguageConstantType, hasLanguageConstantMethods inherited from interface de.uplanet.lucy.server.util.ILanguageConstantOrTitlegetTitlesMethods inherited from interface de.uplanet.lucy.server.rtcache.IRtInfoWithTitlegetDefaultTitle, getTitle, getTitles
- 
Method Details- 
getGuidString getGuid()Get the field GUID.- Returns:
- The GUID (not null).
 
- 
getAppGuidString getAppGuid()Get the application GUID the field belongs to.- Returns:
- The application GUID (not null).
 
- 
getDataGroupGuidString getDataGroupGuid()Get the data group GUID.- Returns:
- The data group GUID. (not null).
 
- 
getTableNameString getTableName()Get the table name.- Returns:
- The table name.
 
- 
getNameString getName()Get the name.- Returns:
- The name (not null).
 
- 
getColumnNameString getColumnName()Get the physical database column name.- Returns:
- The column name (not null).
 
- 
getDataTypede.uplanet.lucy.types.UP_TYPE getDataType()Get the data type.- Returns:
- The data type (not null).
 
- 
getPrecisionint getPrecision()The data type precision.- Returns:
- The data type precision.
 
- 
getSizeint getSize()The data type scale.- Returns:
- The data type scale.
 
- 
getDataHandlerString getDataHandler()Get the data handler.- Returns:
- the data handler (not null).
 
- 
getSysIdentString getSysIdent()Get the sysIdent.- Returns:
- the sysIdent (could be null).
 
- 
isSystemboolean isSystem()Return, if field is system field.- Returns:
- trueor- false.
 
- 
isReferenceboolean isReference()Return, if field is a reference key field.- Returns:
- trueor- false.
 
- 
isReferenceFieldboolean isReferenceField()Returntrueif field is a reference field or the reference key field. (Same as isReference() || getReferenceKey() != null- Returns:
- trueor- false.
 
- 
isPrimaryKeyboolean isPrimaryKey()Return, if field is a primary key field.- Returns:
- trueor- false.
 
- 
isNotFilteredboolean isNotFiltered()Return, if field is NOT filtered.- Returns:
- trueif not filtered,- falseotherwise.
 
- 
getParentFieldGuidString getParentFieldGuid()Get GUID of parent field.- Returns:
- Parent GUID (could be null).
 
- 
getParentFieldFieldInfo getParentField()Get parent field.- Returns:
- Parent field (could be null).
 
- 
getAppRefGuidString getAppRefGuid()Get application reference GUID.- Returns:
- The reference GUID (could be null).
 
- 
getReferenceFieldGuidString getReferenceFieldGuid()Get the referenced field GUID.- Returns:
- The referenced field GUID (could be null).
 
- 
getReferencedFieldFieldInfo getReferencedField()Get the referenced field, if this is a reference.- Returns:
- The referenced field, or nullif this field is not a reference field.
 
- 
getCalcFieldGuidString getCalcFieldGuid()Get GUID of calculated field.- Returns:
- The calculated field GUID (could be null).
 
- 
getCalcFieldFieldInfo getCalcField()Get calculated field.- Returns:
- FieldInfoof calculated field (could be- null).
 
- 
isFileFieldboolean isFileField()Return, if field is plugin field.- Returns:
- trueor- false.
 
- 
getFileHandlerString getFileHandler()Get the fields handler class.- Returns:
- The field handler class (could be null).
 
- 
getPropertiesde.uplanet.lucy.server.property.IPropertyCollection getProperties()The field properties- Returns:
- The field properties (not null).
 
- 
isInheritPermissionboolean isInheritPermission()Use in file fields only. return Returnstrueif the permissions will be inherit from the data group.
- 
isInternalFieldboolean isInternalField()return Returnstrueif the field should only be used in internal, not for filters or control and so on.
 
-