public class ObjectAttributes extends AttributeBase
| Modifier and Type | Field and Description |
|---|---|
static StringArray |
s_allowedAttributes
Enumeration of allowed attribute names
|
| Constructor and Description |
|---|
ObjectAttributes()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IClass |
getCreateClass()
Get new instance creation class information.
|
String |
getCreateType()
Get type to be used for creating new instance.
|
IClassItem |
getFactory()
Get factory method information.
|
String |
getFactoryName()
Get factory method name.
|
IClass |
getMarshaller()
Get marshaller class information.
|
String |
getMarshallerName()
Get marshaller class name.
|
IClassItem |
getPostset()
Get post-set method information.
|
String |
getPostsetName()
Get post-set method name.
|
IClassItem |
getPreget()
Get pre-get method information.
|
String |
getPregetName()
Get pre-get method name.
|
IClassItem |
getPreset()
Get pre-set method information.
|
String |
getPresetName()
Get pre-set method name.
|
IClass |
getUnmarshaller()
Get unmarshaller class information.
|
String |
getUnmarshallerName()
Get unmarshaller class name.
|
boolean |
isNillable()
Check if nillable object.
|
void |
prevalidate(ValidationContext vctx)
Prevalidate attribute information.
|
void |
setCreateType(String name)
Set new instance type class name.
|
void |
setFactoryName(String name)
Set factory method name.
|
void |
setMarshallerName(String name)
Set marshaller class name.
|
void |
setNillable(boolean nillable)
Set nillable flag.
|
void |
setPostsetName(String name)
Set post-set method name.
|
void |
setPregetName(String name)
Set pre-get method name.
|
void |
setPresetName(String name)
Set pre-set method name.
|
void |
setUnmarshallerName(String name)
Set unmarshaller class name.
|
validatepublic static final StringArray s_allowedAttributes
public String getFactoryName()
null if none)public IClassItem getFactory()
prevalidate(ValidationContext).null if none)public void setFactoryName(String name)
name - fully qualified class and method name for object factorypublic String getPresetName()
null if none)public IClassItem getPreset()
prevalidate(ValidationContext).null if none)public void setPresetName(String name)
name - member method name to be called before unmarshallingpublic String getPostsetName()
null if none)public IClassItem getPostset()
prevalidate(ValidationContext).null if none)public void setPostsetName(String name)
name - member method name to be called after unmarshallingpublic String getPregetName()
null if none)public IClassItem getPreget()
prevalidate(ValidationContext).null if none)public void setPregetName(String name)
name - member method name to be called before marshallingpublic String getMarshallerName()
null if none)public IClass getMarshaller()
prevalidate(ValidationContext).null if none)public void setMarshallerName(String name)
name - class name to be used for marshallingpublic String getUnmarshallerName()
null if none)public IClass getUnmarshaller()
prevalidate(ValidationContext).null if none)public void setUnmarshallerName(String name)
name - class name to be used for unmarshallingpublic boolean isNillable()
public void setNillable(boolean nillable)
nillable - flagpublic String getCreateType()
null if none)public IClass getCreateClass()
prevalidate(ValidationContext).null if
none)public void setCreateType(String name)
name - class name to be used for creating new instancepublic void prevalidate(ValidationContext vctx)
AttributeBaseprevalidate in class AttributeBasevctx - validation contextCopyright © 2005–2016 jibx.org. All rights reserved.