|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclarion.clarion.PropertyObject
org.jclarion.clarion.ClarionKey
public class ClarionKey
Model a sort key in Clarion
| Nested Class Summary | |
|---|---|
static class |
ClarionKey.Order
|
| Constructor Summary | |
|---|---|
ClarionKey(java.lang.String label)
|
|
| Method Summary | |
|---|---|
ClarionKey |
addAscendingField(ClarionObject object)
Add field that is ascending |
ClarionKey |
addDescendingField(ClarionObject object)
|
ClarionKey |
addField(ClarionObject object,
boolean descend,
java.lang.String function)
|
protected void |
debugMetaData(java.lang.StringBuilder sb)
|
boolean |
duplicateCheck()
Return whether or not adding current record would trigger a duplicate key error |
boolean |
equals(java.lang.Object o)
|
java.util.List<ClarionKey.Order> |
getFields()
|
ClarionFile |
getFile()
|
ClarionObject |
getLocalProperty(int index)
|
ClarionKey.Order[] |
getOrder()
|
PropertyObject |
getParentPropertyObject()
|
ClarionString |
getPosition()
Get string position store for the given key |
ClarionObject |
getProperty(ClarionObject key,
ClarionObject index)
Retrieve property setting. |
void |
reget(ClarionString string)
Re-fetch record from the database based on position string |
void |
reset(ClarionString string)
Re-set sequentual processing from the database based on position string |
void |
set()
Set record processing order based on specified key. |
void |
set(ClarionKey key)
|
ClarionKey |
setDuplicate()
Key allows duplicate records |
void |
setFile(ClarionFile clarionFile)
|
ClarionKey |
setName(java.lang.String name)
Specify key name |
ClarionKey |
setNocase()
Key is case insensitive |
ClarionKey |
setOptional()
Key is optional, i.e. |
ClarionKey |
setPrimary()
Key is a primary key |
void |
setStart()
Set sequentual processing. |
java.lang.String |
toString()
|
| Methods inherited from class org.jclarion.clarion.PropertyObject |
|---|
addListener, canNotifyLocalChange, clearMetaData, debugMetaData, getDebugMetaData, getDebugMetaData, getId, getInheritedProperty, getProperty, getProperty, getProperty, getPropertyOrDefault, getRawProperty, getRawProperty, getSetProperties, isProperty, isSettable, notifyLocalChange, reMap, removeAllListeners, removeListener, setClonedProperty, setClonedProperty, setClonedProperty, setClonedProperty, setClonedProperty, setId, setProperty, setProperty, setProperty, setProperty, setProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ClarionKey(java.lang.String label)
| Method Detail |
|---|
public ClarionKey setPrimary()
public ClarionKey setDuplicate()
public ClarionKey setNocase()
public ClarionKey setOptional()
public ClarionKey setName(java.lang.String name)
name -
public ClarionKey addAscendingField(ClarionObject object)
object -
public ClarionKey addField(ClarionObject object,
boolean descend,
java.lang.String function)
public ClarionKey addDescendingField(ClarionObject object)
public void set()
public void set(ClarionKey key)
public ClarionString getPosition()
public boolean duplicateCheck()
public void reget(ClarionString string)
string - public void reset(ClarionString string)
string - public void setStart()
public void setFile(ClarionFile clarionFile)
public ClarionFile getFile()
public java.util.List<ClarionKey.Order> getFields()
public ClarionKey.Order[] getOrder()
public PropertyObject getParentPropertyObject()
getParentPropertyObject in class PropertyObject
public ClarionObject getProperty(ClarionObject key,
ClarionObject index)
PropertyObject
getProperty in class PropertyObjectpublic ClarionObject getLocalProperty(int index)
getLocalProperty in class PropertyObjectpublic java.lang.String toString()
toString in class PropertyObjectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected void debugMetaData(java.lang.StringBuilder sb)
debugMetaData in class PropertyObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||