public class ExternalAttribute extends Attribute implements IExternalAttribute
Modifier and Type | Field and Description |
---|---|
static int |
AGGREGATION_TYPE_AVERAGE |
static int |
AGGREGATION_TYPE_FIRST_ELEMENT |
static int |
AGGREGATION_TYPE_SUM |
static int |
VALUE_FROM_FIELD |
static int |
VALUE_FROM_SQL |
Constructor and Description |
---|
ExternalAttribute() |
ExternalAttribute(java.lang.String name,
java.lang.String title,
int type) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Returns a deep copy of the current instance.
|
int |
getAggregationType() |
int |
getDatabaseId() |
java.lang.String |
getExtLinkField() |
int |
getExtLinkFieldType()
Not currently used.
|
java.lang.String |
getExtSchema() |
java.lang.String |
getExtTable() |
java.lang.String |
getExtValueField() |
java.lang.String |
getExtValueSQLQuery() |
int |
getFieldValueSource() |
java.lang.String |
getLayerLinkField() |
IExternalAttributeLoader |
getLoader()
Returns the DynamicAttributeLoader related to this attribute.
|
java.lang.String |
getLocalKeyField() |
char |
getSeparator() |
boolean |
isDynamic()
Returns true if values loaded from this attribute are dynamically loaded.
|
boolean |
isSystem() |
void |
setAggregationType(int aggregationType) |
void |
setDatabaseId(int databaseId) |
void |
setDynamic(boolean realTime)
Sets whether this external attribute is dynamic or not.
|
void |
setExtLinkField(java.lang.String extLinkField) |
void |
setExtLinkFieldType(int extLinkFieldType)
Not currently used.
|
void |
setExtSchema(java.lang.String extSchema) |
void |
setExtTable(java.lang.String extTable) |
void |
setExtValueField(java.lang.String extValueField) |
void |
setExtValueSQLQuery(java.lang.String extValueSQLQuery) |
void |
setFieldValueSource(int fieldValueSource) |
void |
setLayerLinkField(java.lang.String layerLinkField) |
void |
setSeparator(char separator) |
compareTo, equals, getAttributeStat, getFormatPattern, getName, getTitle, getTitle, getType, hashCode, isIndexed, isNullable, isReadOnly, removeTranslationsOtherThan, setAttributeStat, setFormatPattern, setIndexed, setName, setNullable, setReadOnly, setTitle, setTitle, setType, toString
getAvailableLocales, getTranslation, isTranslationExists, setTranslation, updateTranslations
public static final int AGGREGATION_TYPE_FIRST_ELEMENT
public static final int AGGREGATION_TYPE_AVERAGE
public static final int AGGREGATION_TYPE_SUM
public static final int VALUE_FROM_FIELD
public static final int VALUE_FROM_SQL
public ExternalAttribute()
public ExternalAttribute(java.lang.String name, java.lang.String title, int type)
public int getDatabaseId()
public void setDatabaseId(int databaseId)
databaseId
- public java.lang.String getExtLinkField()
public java.lang.String getLocalKeyField()
getLocalKeyField
in interface IExternalAttribute
public java.lang.String getLayerLinkField()
public void setExtLinkField(java.lang.String extLinkField)
extLinkField
- public void setLayerLinkField(java.lang.String layerLinkField)
layerLinkField
- public java.lang.String getExtValueField()
public void setExtValueField(java.lang.String extValueField)
extValueField
- public int getExtLinkFieldType()
public void setExtLinkFieldType(int extLinkFieldType)
extLinkFieldType
- public int getAggregationType()
public void setAggregationType(int aggregationType)
aggregationType
- public int getFieldValueSource()
public void setFieldValueSource(int fieldValueSource)
fieldValueSource
- public java.lang.String getExtValueSQLQuery()
public void setExtValueSQLQuery(java.lang.String extValueSQLQuery)
extValueSQLQuery
- public java.lang.String getExtSchema()
public java.lang.String getExtTable()
public void setExtSchema(java.lang.String extSchema)
extSchema
- public void setExtTable(java.lang.String extTable)
extTable
- public char getSeparator()
public void setSeparator(char separator)
separator
- public boolean isSystem()
public boolean isDynamic()
isDynamic
in interface IExternalAttribute
public void setDynamic(boolean realTime)
realTime
- a flag that defines if values loaded from this attribute are dynamically loaded.public IExternalAttributeLoader getLoader()
getLoader
in interface IExternalAttribute