com.fatwire.gst.foundation.mapping
Class MappingValue

java.lang.Object
  extended by com.fatwire.gst.foundation.mapping.MappingValue

public final class MappingValue
extends Object

Object to hold the CSElement or Template mapping value and mapping type.

Since:
Apr 13, 2011
Author:
Dolf Dijkstra

Nested Class Summary
static class MappingValue.Type
          Enum for the mapping type.
 
Constructor Summary
MappingValue(MappingValue.Type type, String value)
           
 
Method Summary
 String getLeft()
           
 String getRight()
           
 MappingValue.Type getType()
           
 String getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingValue

public MappingValue(MappingValue.Type type,
                    String value)
Parameters:
type - mapping type
value - mapping value
Method Detail

getLeft

public String getLeft()
Returns:
the left hand side of the value

getRight

public String getRight()
Returns:
the right hand side of the value.

getType

public MappingValue.Type getType()
Returns:
the type

getValue

public String getValue()
Returns:
the value


Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.