Skip navigation links
com.thortech.xl.gc.vo.designtime
Class SourceValue
java.lang.Object
com.thortech.xl.gc.vo.designtime.SourceValue
- All Implemented Interfaces:
- java.io.Serializable
-
public class SourceValue
- extends java.lang.Object
- implements java.io.Serializable
This class is a value object that represents the source of a Transformation
instance on an AttributeWithSource
.
- See Also:
AttributeWithSource
, Transformation
, Serialized Form
Method Summary |
java.lang.String |
getFieldName()
This method returns the name of the field if it is the source. |
java.lang.String |
getSourceChDataSetName()
This method returns the name of its dataset (if child) if the source is a field. |
java.lang.String |
getSourceData()
This method returns the name of its dataset (if parent) if the source is a field. |
java.lang.String |
getStrValue()
This method returns the value of the literal if it is the source. |
void |
setFieldName(java.lang.String fieldName)
|
void |
setSourceChDataSetName(java.lang.String sourceChDataSetName)
|
void |
setSourceData(java.lang.String sourceData)
|
void |
setStrValue(java.lang.String strValue)
Sets the literal value of a parameter |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SourceValue
public SourceValue()
setStrValue
public void setStrValue(java.lang.String strValue)
- Sets the literal value of a parameter
-
- Parameters:
strValue
- literal value
getStrValue
public java.lang.String getStrValue()
- This method returns the value of the literal if it is the source.
-
- Returns:
- value of the literal if it is the source. It will be null, if the source is a Field of a dataset.
getFieldName
public java.lang.String getFieldName()
- This method returns the name of the field if it is the source.
-
- Returns:
- name of the field if it is the source. It will be null, if the source is a literal.
setFieldName
public void setFieldName(java.lang.String fieldName)
-
- Parameters:
fieldName
- The fieldName to set.
getSourceData
public java.lang.String getSourceData()
- This method returns the name of its dataset (if parent) if the source is a field.
-
- Returns:
- name of its dataset (if parent), if the source is a field. It will be null, if the source is a literal.
setSourceData
public void setSourceData(java.lang.String sourceData)
-
- Parameters:
sourceData
- The sourceData to set.
getSourceChDataSetName
public java.lang.String getSourceChDataSetName()
- This method returns the name of its dataset (if child) if the source is a field.
-
- Returns:
- name of its dataset (if child) if the source is a field. It will be null, in case the source is a literal.
setSourceChDataSetName
public void setSourceChDataSetName(java.lang.String sourceChDataSetName)
Skip navigation links
Copyright © 2010, Oracle and/or its affiliates. All rights reserved.