org.plasma.query.model
Class Literal

java.lang.Object
  extended by org.plasma.query.model.Literal
All Implemented Interfaces:
Term

public class Literal
extends Object
implements Term


Field Summary
protected  String value
           
 
Constructor Summary
Literal()
           
Literal(BigDecimal content)
           
Literal(BigInteger content)
           
Literal(Date content)
           
Literal(Double content)
           
Literal(Float content)
           
Literal(Integer content)
           
Literal(Long content)
           
Literal(Short content)
           
Literal(String content)
           
 
Method Summary
 void accept(QueryVisitor visitor)
           
 String getValue()
          Gets the value of the value property.
 void setValue(String value)
          Sets the value of the value property.
static Literal valueOf(Object content)
           
static Literal valueOf(String content)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected String value
Constructor Detail

Literal

public Literal()

Literal

public Literal(String content)

Literal

public Literal(BigDecimal content)

Literal

public Literal(Date content)

Literal

public Literal(Short content)

Literal

public Literal(Integer content)

Literal

public Literal(Long content)

Literal

public Literal(BigInteger content)

Literal

public Literal(Float content)

Literal

public Literal(Double content)
Method Detail

valueOf

public static Literal valueOf(String content)

valueOf

public static Literal valueOf(Object content)

getValue

public String getValue()
Gets the value of the value property.

Returns:
possible object is String

setValue

public void setValue(String value)
Sets the value of the value property.

Parameters:
value - allowed object is String

accept

public void accept(QueryVisitor visitor)


Copyright © 2014. All rights reserved.