public class RelationshipDefinition extends DataDictionaryDefinitionBase
Modifier and Type | Field and Description |
---|---|
protected String |
objectAttributeName |
protected List<PrimitiveAttributeDefinition> |
primitiveAttributes |
protected Class<?> |
sourceClass |
protected List<SupportAttributeDefinition> |
supportAttributes |
protected Class<?> |
targetClass
For 1:1 relationships, this class represents the type of the reference class.
|
embeddedDataObjectMetadata, generatedFromMetadata, id
componentCode, namespaceCode
Constructor and Description |
---|
RelationshipDefinition() |
Modifier and Type | Method and Description |
---|---|
void |
completeValidation(Class rootBusinessObjectClass,
Class otherBusinessObjectClass)
Deprecated.
|
void |
completeValidation(Class rootBusinessObjectClass,
Class otherBusinessObjectClass,
ValidationTrace tracer)
Directly validate simple fields
|
void |
dataDictionaryPostProcessing()
This overridden method ...
|
SupportAttributeDefinition |
getIdentifier() |
String |
getObjectAttributeName() |
List<PrimitiveAttributeDefinition> |
getPrimitiveAttributes() |
Class<?> |
getSourceClass() |
List<SupportAttributeDefinition> |
getSupportAttributes() |
Class<?> |
getTargetClass()
Returns the
targetClass |
boolean |
hasIdentifier() |
void |
setObjectAttributeName(String objectAttributeName)
Name of the business object property on the containing business object that is linked
by the contained PrimitiveAttributeDefinition objects.
|
void |
setPrimitiveAttributes(List<PrimitiveAttributeDefinition> primitiveAttributes)
The primitiveAttribute element identifies one pair of
corresponding fields in the primary business object and
the related business object.
|
void |
setSourceClass(Class<?> sourceClass) |
void |
setSupportAttributes(List<SupportAttributeDefinition> supportAttributes)
Support attributes define additional attributes that can be used to generate
lookup field conversions and lookup parameters.
|
void |
setTargetClass(Class<?> targetClass)
Sets the
targetClass |
String |
toString() |
getId, hasEmbeddedDataObjectMetadata, setEmbeddedDataObjectMetadata, setGeneratedFromMetadata, setId, wasGeneratedFromMetadata
clone, copy, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getComponentCode, getNamespaceCode
protected String objectAttributeName
protected Class<?> sourceClass
protected Class<?> targetClass
protected List<PrimitiveAttributeDefinition> primitiveAttributes
protected List<SupportAttributeDefinition> supportAttributes
public RelationshipDefinition()
public String getObjectAttributeName()
public Class<?> getSourceClass()
public Class<?> getTargetClass()
targetClass
public void setTargetClass(Class<?> targetClass)
targetClass
targetClass
- public void setObjectAttributeName(String objectAttributeName)
public List<PrimitiveAttributeDefinition> getPrimitiveAttributes()
public List<SupportAttributeDefinition> getSupportAttributes()
public boolean hasIdentifier()
public SupportAttributeDefinition getIdentifier()
public void dataDictionaryPostProcessing()
dataDictionaryPostProcessing
in interface DictionaryBean
dataDictionaryPostProcessing
in class DictionaryBeanBase
DictionaryBeanBase.dataDictionaryPostProcessing()
@Deprecated public void completeValidation(Class rootBusinessObjectClass, Class otherBusinessObjectClass)
completeValidation
in interface DataDictionaryDefinition
completeValidation
in class DataDictionaryDefinitionBase
rootBusinessObjectClass
- Class of the BusinessObjectEntry which ultimately contains this definitionotherBusinessObjectClass
- other stuff required to complete validationDataDictionaryEntry.completeValidation()
public void completeValidation(Class rootBusinessObjectClass, Class otherBusinessObjectClass, ValidationTrace tracer)
completeValidation
in interface DataDictionaryDefinition
completeValidation
in class DataDictionaryDefinitionBase
rootBusinessObjectClass
- Class of the BusinessObjectEntry which ultimately contains this definitionotherBusinessObjectClass
- other stuff required to complete validationtracer
- ValidationTrace
class used to track what was being validated at the time of any problems discoveredDataDictionaryEntry.completeValidation(org.kuali.rice.krad.datadictionary.validator.ValidationTrace)
public void setPrimitiveAttributes(List<PrimitiveAttributeDefinition> primitiveAttributes)
public void setSupportAttributes(List<SupportAttributeDefinition> supportAttributes)
public void setSourceClass(Class<?> sourceClass)
sourceClass
- the sourceClass to setCopyright © 2005–2014 The Kuali Foundation. All rights reserved.