public class PrimitiveAttributeDefinition extends DataDictionaryDefinitionBase
| Modifier and Type | Field and Description |
|---|---|
protected String |
sourceName |
protected String |
targetName |
embeddedDataObjectMetadata, generatedFromMetadata, idcomponentCode, namespaceCode| Constructor and Description |
|---|
PrimitiveAttributeDefinition() |
| Modifier and Type | Method and Description |
|---|---|
void |
completeValidation(Class rootBusinessObjectClass,
Class otherBusinessObjectClass)
Directly validate simple fields.
|
void |
completeValidation(Class rootBusinessObjectClass,
Class otherBusinessObjectClass,
ValidationTrace tracer)
Directly validate simple fields
|
String |
getSourceName() |
String |
getTargetName() |
void |
setSourceName(String sourceName)
sourceName is the name of the POJO property of the business object
|
void |
setTargetName(String targetName)
targetName is the name of attribute that corresponds to the sourceName in the looked up BO
|
String |
toString() |
getId, hasEmbeddedDataObjectMetadata, setEmbeddedDataObjectMetadata, setGeneratedFromMetadata, setId, wasGeneratedFromMetadataclone, copy, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCodeequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdataDictionaryPostProcessing, getComponentCode, getNamespaceCodeprotected String sourceName
protected String targetName
public PrimitiveAttributeDefinition()
public String getSourceName()
public void setSourceName(String sourceName)
IllegalArgumentException - if the given sourceName is blankpublic String getTargetName()
public void setTargetName(String targetName)
IllegalArgumentException - if the given targetName is blankpublic 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 validationDataDictionaryDefinition.completeValidation(java.lang.Class,
java.lang.Class)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)Copyright © 2005–2016 The Kuali Foundation. All rights reserved.