|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.mmbase.util.functions.FunctionProvider
org.mmbase.module.core.MMTable
org.mmbase.module.core.MMObjectBuilder
org.mmbase.module.corebuilders.InsRel
org.mmbase.module.builders.AnnotRel
public class AnnotRel
| Field Summary | |
|---|---|
static int |
HOURS
|
static int |
MILLIS
|
static int |
MINUTES
|
static int |
SECONDS
|
| Fields inherited from class org.mmbase.module.corebuilders.InsRel |
|---|
FIELD_DESTINATION, FIELD_DIR, FIELD_DIRECTIONALITY, FIELD_DNUMBER, FIELD_RNUMBER, FIELD_ROLE, FIELD_SNUMBER, FIELD_SOURCE, INSREL_BUILDER, relnumber, usesdir |
| Fields inherited from class org.mmbase.module.core.MMObjectBuilder |
|---|
AGE_PARAMETERS, broadCastChanges, DEFAULT_ALINEA, DEFAULT_EOL, description, descriptions, EVENT_TYPE_LOCAL, EVENT_TYPE_REMOTE, FIELD_NUMBER, FIELD_OBJECT_TYPE, FIELD_OWNER, fields, genericBlobCache, getFunctionsFunction, GUI_INDICATOR, GUI_PARAMETERS, guiFunction, infoFunction, internalVersion, nodeCache, oType, pluralNames, searchAge, singularNames, SYSTEM_OWNER, TEMPNODE_DEFAULT_SIZE, TMP_FIELD_EXISTS, TMP_FIELD_NUMBER, virtual, WRAP_PARAMETERS, wrapFunction |
| Fields inherited from class org.mmbase.module.core.MMTable |
|---|
maxNodesFromQuery, mmb, storageConnector, tableName |
| Fields inherited from class org.mmbase.util.functions.FunctionProvider |
|---|
functions, getFunctions |
| Constructor Summary | |
|---|---|
AnnotRel()
|
|
| Method Summary | |
|---|---|
String |
getGUIIndicator(String field,
MMObjectNode node)
What should a GUI display for this node/field combo. |
Object |
getValue(MMObjectNode node,
String field)
Provides additional functionality when obtaining field values. |
void |
setDefaults(MMObjectNode node)
Sets defaults for a node. |
boolean |
setValue(MMObjectNode node,
String field)
Provides additional functionality when setting field values. |
| Methods inherited from class org.mmbase.module.corebuilders.InsRel |
|---|
deleteRelationCache, deleteRelationCache, getAllRelationsVector, getAllRelationsVector, getGuessedNumber, getGUIIndicator, getRelated, getRelated, getRelated, getRelated, getRelated, getRelated, getRelatedVector, getRelatedVector, getRelation, getRelationNode, getRelationNodes, getRelationNodes, getRelationNodes, getRelationNodes, getRelations, getRelations, getRelations, getRelations, getRelationsVector, getRelationsVector, hasRelations, init, insert, insert, reldefCorrect, removeNode, setTableName |
| Methods inherited from class org.mmbase.module.core.MMTable |
|---|
count, count, created, getFullTableName, getMMBase, getNode, getNodes, getNodes, getNodes, getNodeType, getStorageConnector, getTableName, search, searchVector, setMMBase, size |
| Methods inherited from class org.mmbase.util.functions.FunctionProvider |
|---|
addFunction, createParameters, getFunction, getFunctions, getFunctionValue |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int HOURS
public static final int MINUTES
public static final int SECONDS
public static final int MILLIS
| Constructor Detail |
|---|
public AnnotRel()
| Method Detail |
|---|
public void setDefaults(MMObjectNode node)
MILLIS.
setDefaults in class InsRelnode - The node to set the defaults of.
public String getGUIIndicator(String field,
MMObjectNode node)
getGUIIndicator in class InsRelnode - The node to displayfield - the name field of the field to display
String, null if not specified
public boolean setValue(MMObjectNode node,
String field)
setValue in class MMObjectBuildernode - the node whose fields are changedfield - the fieldname that is changed
true if the call was handled.
public Object getValue(MMObjectNode node,
String field)
MMObjectBuilderMMObjectBuilder.executeFunction(MMObjectNode, String, java.util.List) method to handle it.
Functions in fieldnames can be given in the format 'functionname(fieldname)'. An old format allows 'functionname_fieldname' instead,
though this only applies to the text functions 'short', 'html', and 'wap'.
Functions can be nested, i.e. 'html(shorted(body))'.
Derived builders should override this method only if they want to provide virtual fieldnames. To provide additonal functions,
call FunctionProvider.addFunction(org.mmbase.util.functions.Function)
instead. See also the source code for ExampleBuilder.
getValue in class MMObjectBuildernode - the node whos efields are queriesfield - the fieldname that is requested
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||