public class ReferenceValueSuperBeanImpl extends SuperBeanImpl implements ReferenceValueSuperBean
Constructor and Description |
---|
ReferenceValueSuperBeanImpl(ReferenceValueBean builtFrom,
IdentifiableRetrievalManager retrievalManager) |
Modifier and Type | Method and Description |
---|---|
ReferenceValueBean |
getBuiltFrom()
Returns the bean that was used to build this superBean
|
java.util.Set<MaintainableBean> |
getCompositeBeans()
Returns a set of beans that were used to build this superBean
|
ContentConstraintBean |
getContentConstraintReference()
Returns the content constraint that this structure references, returns null if there is no reference
|
java.util.List<DataKeyBean> |
getDataKeys()
Returns a list of data keys, will return an empty list if isDatasetReference() is false
|
java.lang.String |
getDatasetId()
Returns the id of the dataset this bean is referencing, returns null if this is not a dataset reference.
|
java.lang.String |
getId()
Returns the id of this reference value
|
IdentifiableBean |
getIdentifiableReference()
Returns the identifiable structure that this reference value is using,
if this is a dataset reference this will return a reference to a data provider.
|
boolean |
isContentConstriantReference()
Returns true if this is a content constraint reference, if true getContentConstraintReference() will return a not null value
|
boolean |
isDatakeyReference()
Returns true if this is a datakey reference, if true getDataKeys() will return 1 or more items
|
boolean |
isDatasetReference()
Returns true if this is a dataset reference, if true getIdentifiableReference() AND getDatasetId() will NOT be null
|
boolean |
isIdentifiableReference()
Returns true if this is an identifiable structure reference, if true getIdentifiableReference() will NOT be null
|
public ReferenceValueSuperBeanImpl(ReferenceValueBean builtFrom, IdentifiableRetrievalManager retrievalManager)
public java.lang.String getId()
ReferenceValueSuperBean
getId
in interface ReferenceValueSuperBean
public java.lang.String getDatasetId()
ReferenceValueSuperBean
getDatasetId
in interface ReferenceValueSuperBean
public java.util.List<DataKeyBean> getDataKeys()
ReferenceValueSuperBean
getDataKeys
in interface ReferenceValueSuperBean
public boolean isDatasetReference()
ReferenceValueSuperBean
isDatasetReference
in interface ReferenceValueSuperBean
public boolean isIdentifiableReference()
ReferenceValueSuperBean
isIdentifiableReference
in interface ReferenceValueSuperBean
public boolean isDatakeyReference()
ReferenceValueSuperBean
isDatakeyReference
in interface ReferenceValueSuperBean
public boolean isContentConstriantReference()
ReferenceValueSuperBean
isContentConstriantReference
in interface ReferenceValueSuperBean
public IdentifiableBean getIdentifiableReference()
ReferenceValueSuperBean
getIdentifiableReference
in interface ReferenceValueSuperBean
public ContentConstraintBean getContentConstraintReference()
ReferenceValueSuperBean
getContentConstraintReference
in interface ReferenceValueSuperBean
public ReferenceValueBean getBuiltFrom()
SuperBean
getBuiltFrom
in interface SuperBean
getBuiltFrom
in interface ReferenceValueSuperBean
getBuiltFrom
in class SuperBeanImpl
public java.util.Set<MaintainableBean> getCompositeBeans()
SuperBean
getCompositeBeans
in interface SuperBean
getCompositeBeans
in class SuperBeanImpl