Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.relations.api.impl
Class LiteralImpl

java.lang.Object
  extended by org.nuxeo.ecm.platform.relations.api.impl.AbstractNode
      extended by org.nuxeo.ecm.platform.relations.api.impl.LiteralImpl
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Node>, Literal, Node

public class LiteralImpl
extends AbstractNode
implements Literal

Literal nodes.

Author:
Anahide Tchertchian
See Also:
Serialized Form

Constructor Summary
LiteralImpl(String value)
           
 
Method Summary
 boolean equals(Object other)
           
 String getLanguage()
           
 NodeType getNodeType()
           
 String getType()
           
 String getValue()
           
 int hashCode()
           
 boolean isLiteral()
           
 void setLanguage(String language)
           
 void setType(String type)
           
 void setValue(String value)
           
 String toString()
           
 
Methods inherited from class org.nuxeo.ecm.platform.relations.api.impl.AbstractNode
compareTo, isBlank, isQNameResource, isResource
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.nuxeo.ecm.platform.relations.api.Node
isBlank, isQNameResource, isResource
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

LiteralImpl

public LiteralImpl(String value)
Method Detail

getNodeType

public NodeType getNodeType()
Specified by:
getNodeType in interface Node

isLiteral

public boolean isLiteral()
Specified by:
isLiteral in interface Node
Overrides:
isLiteral in class AbstractNode

getLanguage

public String getLanguage()
Specified by:
getLanguage in interface Literal

setLanguage

public void setLanguage(String language)
Specified by:
setLanguage in interface Literal

getType

public String getType()
Specified by:
getType in interface Literal

setType

public void setType(String type)
Specified by:
setType in interface Literal

getValue

public String getValue()
Specified by:
getValue in interface Literal

setValue

public void setValue(String value)
Specified by:
setValue in interface Literal

toString

public String toString()
Overrides:
toString in class Object

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.