Reorganize credit model and enhance the YAML nodes with path info
[aquarium] / logic / src / main / scala / gr / grnet / aquarium / util / yaml / YAMLStringNode.scala
1 package gr.grnet.aquarium.util.yaml
2
3 /**
4  * 
5  * @author Christos KK Loverdos <loverdos@gmail.com>.
6  */
7 case class YAMLStringNode(path: String,  string: String) extends YAMLNode {
8   def /(childName: String) = YAMLEmptyNode
9
10   override def stringValue = string
11
12   override def isString = true
13
14   def withPath(newPath: String) = this.copy(path = newPath)
15 }