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.
|
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() |
afterPropertiesSet, getId, setId
copy, copyProperties, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getComponentCode, getNamespaceCode
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 validationDataDictionaryDefinition.completeValidation(java.lang.Class,
java.lang.Class)
public void completeValidation(Class rootBusinessObjectClass, Class otherBusinessObjectClass, ValidationTrace tracer)
public String toString()
toString
in class Object
Object.toString()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.