Modifier and Type | Method and Description |
---|---|
boolean |
allowUserToEdit()
Returns whether the field is editable by the user.
|
CumulusSession |
getCumulusSession()
Returns the current
CumulusSession object. |
java.lang.String |
getDefaultMasterCategoryName()
Returns the default master category name for the record "Categories" field.
|
int |
getFieldType()
Returns the type of this field.
|
GUID |
getFieldUID()
Returns the field's
GUID . |
int |
getIndexKind()
Returns the field's indexing preferences.
|
GUID |
getModuleClassUID()
Returns the module's
GUID . |
java.lang.String |
getModuleName()
Returns the module's name using the default language.
|
java.lang.String |
getModuleName(int language)
Returns the module's name.
|
java.lang.String |
getName()
Returns the field's name using the default language.
|
java.lang.String |
getName(int language)
Returns the field's name in the given language.
|
java.util.List<java.lang.Integer> |
getStringEnumIDs()
Return the list of IDs for a
String List field. |
java.util.List<java.lang.Integer> |
getStringEnumIDs(int languageID)
Return the list of IDs for a
String List field. |
java.lang.String |
getStringEnumName(int enumID)
Returns the string enum name for the given id.
|
java.lang.String |
getStringEnumName(int enumID,
int languageID)
Returns the string enum name for the given id and requested language.
|
java.util.Set<GUID> |
getTableFieldUIDs()
In case of a table field this method returns the field UIDs for the sub table fields.
|
int |
getValueInterpretation()
Returns the value interpretation for this field.
|
boolean |
isAtomicField()
Returns true when this field can be used on all tables or false if it's part of a sub-table definition only.
|
boolean |
linkWhenAdding()
Returns the "Linking when Adding Assets" state of the field.
|
boolean |
linkWhenSaving()
Returns the "Linking when Saving to Assets" state of the field.
|
boolean |
linkWhenUpdating()
Returns the "Linking when Updating Assets" state of the field.
|
boolean |
readAllWhenAdding()
Returns the "When Adding Assets Read All" state of the field.
|
boolean |
readAllWhenUpdating()
Returns the "When Updating Assets Read All" state of the field.
|
java.lang.String |
toString()
Returns the field's name.
|
public CumulusSession getCumulusSession()
CumulusSession
object.CumulusSession
object.public int getFieldType()
public boolean allowUserToEdit()
true
if the field is editable; false
otherwise.public int getIndexKind()
public boolean linkWhenAdding()
public boolean readAllWhenAdding()
linkWhenAdding()
is true
, the returned value determines
whether the field is filled from all linked fields, or only from the first one.public boolean linkWhenUpdating()
public boolean readAllWhenUpdating()
linkWhenUpdating()
is true
, the returned value determines
whether the field is filled from all linked fields, or only from the first one.public boolean linkWhenSaving()
FieldDefinition
object is taken from
record layout or from the category layout. This indicates whether field linking should occur when an asset is saved. This feature is only supported with
specific modules (like JPEG IPTC).public java.util.List<java.lang.Integer> getStringEnumIDs()
String List
field. This is only valid for a field of type FieldTypes.FieldTypeEnum
. In case the field is set
up to be ordered alphabetically the IDs are returned in the order for the default language.String List
field.public java.util.List<java.lang.Integer> getStringEnumIDs(int languageID)
String List
field. This is only valid for a field of type FieldTypes.FieldTypeEnum
.languageID
- the Id of the language. This determines the order in which the IDs are returned in case the field is set up to be ordered
alphabetically.String List
field.public java.lang.String getStringEnumName(int enumID)
enumID
- requested enum idpublic java.lang.String getStringEnumName(int enumID, int languageID)
enumID
- requested enum idlanguageID
- requested languagepublic int getValueInterpretation()
FieldTypes.VALUE_INTERPRETATION_DEFAULT
FieldTypes.VALUE_INTERPRETATION_ASSETREFERENCE
FieldTypes.VALUE_INTERPRETATION_DATA_SIZE
FieldTypes.VALUE_INTERPRETATION_DATE_ONLY
FieldTypes.VALUE_INTERPRETATION_LENGTH_IN_INCH
FieldTypes.VALUE_INTERPRETATION_RESOLUTION
FieldTypes.VALUE_INTERPRETATION_TIME_ONLY
FieldTypes.VALUE_INTERPRETATION_STRING_ENUM_LABEL
FieldTypes.VALUE_INTERPRETATION_STRING_ENUM_RATING
FieldTypes.VALUE_INTERPRETATION_STRING_ENUM_MULTIPLE_VALUES
public GUID getFieldUID()
GUID
.GUID
.public GUID getModuleClassUID()
GUID
.GUID
.public java.lang.String getModuleName(int language)
language
- the language ID, see Cumulus
for language ID definitions.public java.lang.String getModuleName()
public java.lang.String getName(int language)
language
- the language ID, see Cumulus
for language ID definitions.public java.lang.String getName()
public java.lang.String getDefaultMasterCategoryName()
public java.util.Set<GUID> getTableFieldUIDs()
public boolean isAtomicField()
public java.lang.String toString()
toString
in class java.lang.Object
getName(int)
www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.