Class LiteralImpl
- java.lang.Object
-
- org.nuxeo.ecm.platform.relations.api.impl.AbstractNode
-
- 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
Constructors Constructor Description LiteralImpl(String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface org.nuxeo.ecm.platform.relations.api.Node
isBlank, isQNameResource, isResource
-
-
-
-
Constructor Detail
-
LiteralImpl
public LiteralImpl(String value)
-
-
Method Detail
-
getNodeType
public NodeType getNodeType()
- Specified by:
getNodeType
in interfaceNode
-
isLiteral
public boolean isLiteral()
- Specified by:
isLiteral
in interfaceNode
- Overrides:
isLiteral
in classAbstractNode
-
getLanguage
public String getLanguage()
- Specified by:
getLanguage
in interfaceLiteral
-
setLanguage
public void setLanguage(String language)
- Specified by:
setLanguage
in interfaceLiteral
-
-