|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractMap | +--java.util.HashMap | +--com.isomorphic.datasource.DSField
Method Summary | |
java.lang.String |
getForeignKey()
Returns the foreign key, if set. |
java.lang.Long |
getLength()
Returns the length of this field, if specified. |
java.lang.String |
getName()
Returns the name of this field. |
java.lang.String |
getProperty(java.lang.String property)
For an XML DataSource, returns the value of the specified attribute as a string. |
java.lang.String |
getTitle()
Returns the title of this field, if any. |
java.lang.String |
getType()
Returns the type of this field. |
java.lang.String |
getValueXPath()
For an XML DataSource, returns the XPath expression used to retrieve the field value. |
boolean |
isPrimaryKey()
Returns true if this field is a primary key, false otherwise. |
boolean |
isRequired()
Returns true if this field is required, false otherwise. |
Method Detail |
public java.lang.String getName()
public boolean isRequired()
public java.lang.String getType()
Valid values include: text, boolean, integer, float, date, sequence, link, image, binary and imageFile.
public java.lang.Long getLength()
public java.lang.String getTitle()
public boolean isPrimaryKey()
public java.lang.String getForeignKey()
If set, declares that this field holds values that can be matched to values from another DataSource field, to create a relationship between records from different DataSources or even records within the same DataSource.
The format of the foreign key is <dataSourceId>.<fieldName>
.
public java.lang.String getValueXPath()
public java.lang.String getProperty(java.lang.String property)
property
- the name of the attribute
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |