|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.data.config.AssociationSetting
public class AssociationSetting
The AssociationSetting class is used to add association
properties to DataDestination types.
| Constructor Summary | |
|---|---|
AssociationSetting(String relationString,
String property,
String destination)
Creates an AssociationSetting instance with indicated
settings and default lazy, sequenced, readOnly and cacheReferencedItems
settings. |
|
AssociationSetting(String relationString,
String property,
String destination,
boolean lazy,
boolean sequenced,
boolean readOnly,
boolean cacheReferencedItems)
Creates an AssociationSetting instance with indicated settings. |
|
| Method Summary | |
|---|---|
boolean |
getCacheReferencedItems()
Returns the cache referenced items property. |
String |
getDestination()
Returns the destination of the association. |
boolean |
getLazy()
Returns if the association is lazy. |
String |
getProperty()
Returns the property of the association. |
boolean |
getReadOnly()
Returns the read-only property. |
int |
getRelation()
Returns the relation of the association. |
String |
getRelationString()
Returns the string representation of the relation of the association. |
boolean |
getSequenced()
Returns the sequenced property. |
boolean |
isMulti()
Returns true if this is a multi-values association. |
void |
setCacheReferencedItems(boolean cacheReferencedItems)
Sets the cache referenced items property. |
void |
setLazy(boolean lazy)
Sets the lazy property. |
void |
setReadOnly(boolean readOnly)
Sets the read-only property. |
void |
setSequenced(boolean sd)
Sets the sequenced property. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AssociationSetting(String relationString,
String property,
String destination)
AssociationSetting instance with indicated
settings and default lazy, sequenced, readOnly and cacheReferencedItems
settings.
relationString - Valid options are one-to-one, one-to-many, many-to-one, many-to-many.property - destination -
public AssociationSetting(String relationString,
String property,
String destination,
boolean lazy,
boolean sequenced,
boolean readOnly,
boolean cacheReferencedItems)
AssociationSetting instance with indicated settings.
relationString - Valid options are one-to-one, one-to-many, many-to-one, many-to-many.property - destination - lazy - sequenced - readOnly - cacheReferencedItems - | Method Detail |
|---|
public boolean isMulti()
true if this is a multi-values association.
public int getRelation()
public String getRelationString()
public String getDestination()
public String getProperty()
public boolean getLazy()
true if the association is lazy; otherwise false.public void setLazy(boolean lazy)
false.
lazy - public boolean getSequenced()
true if association is sequenced; otherwise false.public void setSequenced(boolean sd)
true.
sd - public boolean getReadOnly()
true if association is read-only; otherwise false.public void setReadOnly(boolean readOnly)
false.
readOnly - public boolean getCacheReferencedItems()
true if cache referenced items is enabled; otherwise false.public void setCacheReferencedItems(boolean cacheReferencedItems)
true.
cacheReferencedItems -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcdsjavadoc/flex/data/config/AssociationSetting.html