org.nuiton.wikitty.entities
Class Element

java.lang.Object
  extended by org.nuiton.wikitty.entities.Element
All Implemented Interfaces:
Serializable, WikittyConstants
Direct Known Subclasses:
ElementExtension, ElementField, ElementId, ElementNode

public class Element
extends Object
implements WikittyConstants, Serializable

Class mere qui determine sur quoi porte une condition. Les classes filles possible sont par exemple: ElementField, ElementId, ElementExtension This class and sub classes must be very simple because this class is used in Wikitty interface that GWT used.

Since:
3.3 Last update: $Date: 2012-04-05 17:31:15 +0200 (jeu, 05 avr 2012) $ by : $Author: maven-release $
Version:
$Revision: 1462 $
Author:
poussin
See Also:
Serialized Form

Field Summary
static ElementField ALL_FIELD
           
static ElementExtension EXTENSION
           
static ElementId ID
           
static ElementNode NODE_DEPTH
          utilise pour creer une condition sur la profondeur d'un noeud (root=1)
static ElementNode NODE_PATH
          utilise pour creer une condition sur un noeud ou un de ses peres (le chemin d'acces a un noeud)
static ElementNode NODE_ROOT
          utilise pour creer une condition sur le noeud root de l'arbre
protected  String value
           
 
Fields inherited from interface org.nuiton.wikitty.WikittyConstants
FQ_FIELD_NAME_SEPARATOR, FQ_FIELD_NAME_SEPARATOR_REGEX, FQ_META_EXTENSION_SEPARATOR, FQ_META_EXTENSION_SEPARATOR_REGEX
 
Constructor Summary
Element()
           
Element(String value)
           
 
Method Summary
 boolean equals(Object obj)
           
static Element get(String v)
           
 String getValue()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NODE_ROOT

public static final ElementNode NODE_ROOT
utilise pour creer une condition sur le noeud root de l'arbre


NODE_PATH

public static final ElementNode NODE_PATH
utilise pour creer une condition sur un noeud ou un de ses peres (le chemin d'acces a un noeud)


NODE_DEPTH

public static final ElementNode NODE_DEPTH
utilise pour creer une condition sur la profondeur d'un noeud (root=1)


ID

public static final ElementId ID

EXTENSION

public static final ElementExtension EXTENSION

ALL_FIELD

public static final ElementField ALL_FIELD

value

protected String value
Constructor Detail

Element

public Element()

Element

public Element(String value)
Method Detail

get

public static Element get(String v)

getValue

public String getValue()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 CodeLutin. All Rights Reserved.