com.ca.commons.datamodel
Class DataModelFlexiStrValue

java.lang.Object
  extended by com.ca.commons.datamodel.DataModelFlexiStrValue

public final class DataModelFlexiStrValue
extends Object


Field Summary
static String TYPE_JAVACLASSNAME
           
static String TYPE_URI
           
 
Constructor Summary
DataModelFlexiStrValue(String type, String value)
           
 
Method Summary
 DataModelFlexiStrValue changeValue(String newValue)
           
 boolean equals(Object o)
           
 String getType()
           
 String getValue()
           
 int hashCode()
           
 boolean isType(String type)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE_JAVACLASSNAME

public static final String TYPE_JAVACLASSNAME
See Also:
Constant Field Values

TYPE_URI

public static final String TYPE_URI
See Also:
Constant Field Values
Constructor Detail

DataModelFlexiStrValue

public DataModelFlexiStrValue(@NotNull
                              String type,
                              @NotNull
                              String value)
Method Detail

getType

@NotNull
public String getType()

getValue

@NotNull
public String getValue()

isType

public boolean isType(@Nullable
                      String type)

changeValue

@NotNull
public DataModelFlexiStrValue changeValue(@NotNull
                                                  String newValue)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

@NotNull
public String toString()
Overrides:
toString in class Object


Created 2011-07-14 13:27 EST