public class PrimitiveAttributeDefinition extends DataDictionaryDefinitionBase
Modifier and Type | Field and Description |
---|---|
protected String |
sourceName |
protected String |
targetName |
id
Constructor and Description |
---|
PrimitiveAttributeDefinition() |
Modifier and Type | Method and Description |
---|---|
void |
completeValidation(Class rootBusinessObjectClass,
Class otherBusinessObjectClass)
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() |
afterPropertiesSet, getId, setId
protected 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)
rootBusinessObjectClass
- Class of the BusinessObjectEntry which ultimately contains this definitionotherBusinessObjectClass
- other stuff required to complete validationorg.kuali.rice.krad.datadictionary.DataDictionaryDefinition#completeValidation(java.lang.Class, java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.