public class SaWsFieldDescription extends Object
Constructor and Description |
---|
SaWsFieldDescription()
Creates a new instance of SaWsFieldDescription.
|
SaWsFieldDescription(com.saperion.intf.SaFieldDescription desc)
Creates a new instance of SaWsFieldDescription and wraps the original.
|
Modifier and Type | Method and Description |
---|---|
String |
getDbName()
Reads the real database name of this field.
|
int |
getFieldType()
Reads the fieldtype.
|
int |
getLength()
Reads the length if this field.
|
String |
getLookupTableDef()
Reads the definition of lookup table.
|
String |
getLookupTableField()
Reads the field in the lookup table.
|
String |
getMultiValueSeparators()
Reads the multivalue separators.
|
String |
getName()
Reads the name of this field.
|
boolean |
isHasLookupTable()
Test, if this field has a lookup table.
|
boolean |
isIndex()
Tests, if this field is an index field.
|
boolean |
isLookupTableIsDirect()
Reads the value for lookupTableIsDirect.
|
boolean |
isMandatory()
Checks, if this field is mandatory.
|
boolean |
isMultiValue()
Checks, if this field is multivalued.
|
boolean |
isNonSystemField()
Checks whether this object's name is a non-system DDC field name.
|
boolean |
isStringFieldType()
Checks if this object is a string type.
|
boolean |
isUnique()
Checks, if this field is unique.
|
void |
setDbName(String dbname)
Sets the real database name of this field.
|
void |
setFieldType(int ftype)
Sets the fieldtype.
|
void |
setHasLookupTable(boolean bHasLookupTable)
Sets, if this field has a lookup table.
|
void |
setIndex(boolean isIndex)
Sets, if this field is an index field.
|
void |
setLength(int iLength)
Sets the length if this field.
|
void |
setLookupTableDef(String def)
Sets the definition of lookup table.
|
void |
setLookupTableField(String field)
Sets the field in the lookup table.
|
void |
setLookupTableIsDirect(boolean isDirect)
Sets the value for lookupTableIsDirect.
|
void |
setMandatory(boolean isMandatory)
Sets, if this field is mandatory.
|
void |
setMultiValue(boolean isMultiValue)
Sets, if this field is multivalued.
|
void |
setMultiValueSeparators(String separators)
Sets the multivalue separators.
|
void |
setName(String sName)
Sets the name of this field.
|
void |
setNonSystemField(boolean isNonSystemField)
Sets his object's name is a non-system DDC field name.
|
void |
setStringFieldType(boolean isStringFieldType)
Sets if this object is a string type.
|
void |
setUnique(boolean isUnique)
Sets, if this field is unique.
|
public SaWsFieldDescription()
public SaWsFieldDescription(com.saperion.intf.SaFieldDescription desc)
desc
- Field descriptionpublic boolean isHasLookupTable()
public void setHasLookupTable(boolean bHasLookupTable)
bHasLookupTable
- Has lookup tablepublic boolean isMandatory()
public void setMandatory(boolean isMandatory)
isMandatory
- Is mandatorypublic boolean isIndex()
public void setIndex(boolean isIndex)
isIndex
- Is index fieldpublic boolean isMultiValue()
public void setMultiValue(boolean isMultiValue)
isMultiValue
- Is multivaluepublic boolean isUnique()
public void setUnique(boolean isUnique)
isUnique
- Is uniquepublic int getLength()
public void setLength(int iLength)
iLength
- Field lengthpublic String getLookupTableDef()
public void setLookupTableDef(String def)
def
- Lookup table definitionpublic String getLookupTableField()
public void setLookupTableField(String field)
field
- Lookup fieldpublic boolean isLookupTableIsDirect()
public void setLookupTableIsDirect(boolean isDirect)
isDirect
- Lookup is directpublic String getMultiValueSeparators()
public void setMultiValueSeparators(String separators)
separators
- Multivalue separatorspublic String getName()
public void setName(String sName)
sName
- Field namepublic String getDbName()
public void setDbName(String dbname)
dbname
- Database namepublic int getFieldType()
public void setFieldType(int ftype)
ftype
- Field typepublic boolean isNonSystemField()
public void setNonSystemField(boolean isNonSystemField)
isNonSystemField
- Is non system fieldpublic boolean isStringFieldType()
public void setStringFieldType(boolean isStringFieldType)
isStringFieldType
- Is string fieldCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.