public class DataSetLink
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
DataSetLink.AttributePair
Wraps a pair of attributes (technically references to attribute by attribute key) for use in a DataSetLink.
|
| Modifier | Constructor and Description |
|---|---|
|
DataSetLink(java.lang.String targetDataSetKey) |
protected |
DataSetLink(java.lang.String targetDataSetKey,
java.util.List<DataSetLink.AttributePair> joinKeys) |
| Modifier and Type | Method and Description |
|---|---|
void |
addJoinKey(DataSetLink.AttributePair key) |
void |
clearJoinKeys() |
DataSetLink |
clone() |
java.util.List<DataSetLink.AttributePair> |
getJoinKeys() |
java.lang.String |
getTargetDataSetKey() |
boolean |
isEnabled() |
DataSetLink |
reverseLink(java.lang.String newTargetDataSetKey)
Creates a copy of this link but in the "reverse" direction.
|
void |
setEnabled(boolean isEnabled) |
java.lang.String |
toString() |
protected void |
validate(java.util.Map<java.lang.String,CollectionBaseView> collectionCache,
CollectionBaseView srcDataSet) |
protected DataSetLink(java.lang.String targetDataSetKey,
java.util.List<DataSetLink.AttributePair> joinKeys)
public DataSetLink(java.lang.String targetDataSetKey)
public java.lang.String getTargetDataSetKey()
public java.util.List<DataSetLink.AttributePair> getJoinKeys()
public void addJoinKey(DataSetLink.AttributePair key)
public void clearJoinKeys()
public void setEnabled(boolean isEnabled)
public boolean isEnabled()
public DataSetLink reverseLink(java.lang.String newTargetDataSetKey)
newTargetDataSetKey - we need to know the target of the new "reversed" link since this link doesn't know its source data setprotected void validate(java.util.Map<java.lang.String,CollectionBaseView> collectionCache, CollectionBaseView srcDataSet) throws KeyNotFoundException
KeyNotFoundExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic DataSetLink clone()
clone in class java.lang.ObjectCopyright 2003, 2014, Oracle and/or its affiliates. All rights reserved.