| org.mmbase.module.corebuilders.InsRel org.mmbase.module.builders.AnnotRel
AnnotRel | public class AnnotRel extends InsRel (Code) | | author: David van Zeventer version: $Id: AnnotRel.java,v 1.22 2005/10/06 17:46:39 michiel Exp $ |
Field Summary | |
final public static int | HOURS | final public static int | MILLIS | final public static int | MINUTES | final public static int | SECONDS |
HOURS | final public static int HOURS(Code) | | |
MILLIS | final public static int MILLIS(Code) | | |
MINUTES | final public static int MINUTES(Code) | | |
SECONDS | final public static int SECONDS(Code) | | |
getGUIIndicator | public String getGUIIndicator(String field, MMObjectNode node)(Code) | | What should a GUI display for this node/field combo.
Displays the pos, end, and length fields as time-values,
and the annotation type field as a descriptive string.
Parameters: node - The node to display Parameters: field - the name field of the field to display the display of the node's field as a String , null if not specified |
process | public boolean process(PageInfo sp, Hashtable cmds, Hashtable vars)(Code) | | The hook that passes all form related pages to the correct handler.
This method is not supported.
Parameters: sp - The PageInfo Parameters: cmds - the commands (PRC-CMD) to process Parameters: vars - variables (PRC-VAR) to use the result value as a String |
replace | public String replace(PageInfo sp, StringTokenizer command)(Code) | | Obtains a string value by performing the provided command.
This method is not supported.
Parameters: sp - The PageInfo Parameters: command - the command to execute the result value as a String |
setDefaults | public void setDefaults(MMObjectNode node)(Code) | | Sets defaults for a node.
Initializes all numeric fields to 0, and sets the annotation type to
AnnotRel.MILLIS .
Parameters: node - The node to set the defaults of. |
setValue | public boolean setValue(MMObjectNode node, String field)(Code) | | Provides additional functionality when setting field values.
This method makes sure that the pos, end, and length values have the
correct value.
Parameters: node - the node whose fields are changed Parameters: field - the fieldname that is changed true if the call was handled. |
Methods inherited from org.mmbase.module.corebuilders.InsRel | public void deleteRelationCache()(Code)(Java Doc) public void deleteRelationCache(int source)(Code)(Java Doc) public Vector<MMObjectNode> getAllRelationsVector(int source)(Code)(Java Doc) public Vector<MMObjectNode> getAllRelationsVector(int source, int role)(Code)(Java Doc) public String getGUIIndicator(MMObjectNode node)(Code)(Java Doc) public String getGUIIndicator(String field, MMObjectNode node)(Code)(Java Doc) public int getGuessedNumber(String name)(Code)(Java Doc) public Enumeration<MMObjectNode> getRelated(String sourceNode, String nodeType)(Code)(Java Doc) public Enumeration<MMObjectNode> getRelated(int source, String nodeType)(Code)(Java Doc) public Enumeration<MMObjectNode> getRelated(int source, int otype)(Code)(Java Doc) public Enumeration<MMObjectNode> getRelated(String sourceNode, String nodeType, String roleName)(Code)(Java Doc) public Enumeration<MMObjectNode> getRelated(int source, String nodeType, String roleName)(Code)(Java Doc) public Enumeration<MMObjectNode> getRelated(int source, int otype, int role)(Code)(Java Doc) public Vector<MMObjectNode> getRelatedVector(int source, int otype)(Code)(Java Doc) public Vector<MMObjectNode> getRelatedVector(int source, int otype, int role)(Code)(Java Doc) public MMObjectNode getRelation(int source, int destination, int role)(Code)(Java Doc) public MMObjectNode getRelationNode(int source, int destination, int role) throws SearchQueryException(Code)(Java Doc) public List<MMObjectNode> getRelationNodes(int source) throws SearchQueryException(Code)(Java Doc) public List<MMObjectNode> getRelationNodes(int source, int role) throws SearchQueryException(Code)(Java Doc) public List<MMObjectNode> getRelationNodes(int source, boolean useDirectionality) throws SearchQueryException(Code)(Java Doc) public List<MMObjectNode> getRelationNodes(int source, int role, boolean useDirectionality) throws SearchQueryException(Code)(Java Doc) public Enumeration<MMObjectNode> getRelations(int source)(Code)(Java Doc) public Enumeration<MMObjectNode> getRelations(int source, int role)(Code)(Java Doc) public Enumeration<MMObjectNode> getRelations(int source, int otype, int role)(Code)(Java Doc) public Enumeration<MMObjectNode> getRelations(int source, int otype, int role, boolean usedirectionality)(Code)(Java Doc) public Vector<MMObjectNode> getRelationsVector(int source)(Code)(Java Doc) public Vector<MMObjectNode> getRelationsVector(int source, int role)(Code)(Java Doc) public boolean hasRelations(int source)(Code)(Java Doc) public boolean init()(Code)(Java Doc) public int insert(String owner, int source, int destination, int role)(Code)(Java Doc) public int insert(String owner, MMObjectNode node)(Code)(Java Doc) public boolean reldefCorrect(int source, int destination, int role)(Code)(Java Doc) public void removeNode(MMObjectNode node)(Code)(Java Doc) public void setDefaults(MMObjectNode node)(Code)(Java Doc)
|
|
|