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, idcomponentCode, 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, wasGeneratedFromMetadataclone, copy, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCodeequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComponentCode, getNamespaceCodeprotected 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()
targetClasspublic void setTargetClass(Class<?> targetClass)
targetClasstargetClass - 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 DictionaryBeandataDictionaryPostProcessing in class DictionaryBeanBaseDictionaryBeanBase.dataDictionaryPostProcessing()@Deprecated public void completeValidation(Class rootBusinessObjectClass, Class otherBusinessObjectClass)
completeValidation in interface DataDictionaryDefinitioncompleteValidation in class DataDictionaryDefinitionBaserootBusinessObjectClass - 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 DataDictionaryDefinitioncompleteValidation in class DataDictionaryDefinitionBaserootBusinessObjectClass - 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.