public class BindingMappingDetail extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
BindingMappingDetail(String type,
QName aname,
QName cname,
String stype)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
MappingElement |
getAbstractMapping()
Get the abstract <mapping> for the target class.
|
Map |
getAccessMethodMap()
Get map from access method name to property customization information for properties covered by this
<mapping>.
|
MappingElementBase |
getConcreteMapping()
Get the concrete <mapping> for the target class.
|
QName |
getElementQName()
Get the element name used for a concrete mapping.
|
String |
getExtendsType()
Get the fully-qualified class name of the type extended by this <mapping>.
|
String |
getType()
Get fully-qualified name of mapped class.
|
QName |
getTypeQName()
Get the type name used for an abstract mapping.
|
boolean |
isExtended()
Check for target class extended by other mapped class(es).
|
boolean |
isGenerated()
Check if this <mapping> has been generated.
|
boolean |
isUseAbstract()
Check if an abstract <mapping> used for this class.
|
boolean |
isUseConcrete()
Check if a concrete <mapping> used for this class.
|
void |
setAbstractMapping(MappingElement abs)
Set the abstract <mapping> for the target class.
|
void |
setAccessMethodMap(Map map)
Set map from access method name to property customization information for properties covered by this
<mapping>.
|
void |
setConcreteMapping(MappingElementBase con)
Set the concrete <mapping> for the target class.
|
void |
setElementQName(QName qname)
Set the element name used for a concrete mapping.
|
void |
setExtended(boolean ext)
Set target class extended by other mapped class(es).
|
void |
setGenerated(boolean gen)
Set flag for <mapping> generated.
|
void |
setUseAbstract(boolean abs)
Set flag for abstract <mapping> used for this class.
|
void |
setUseConcrete(boolean con)
Set flag for concrete <mapping> used for this class.
|
protected BindingMappingDetail(String type, QName aname, QName cname, String stype)
type - fully-qualified mapped class nameaname - abstract mapping type namecname - concrete mapping element namestype - superclass for extension (null if not an extension mapping)public String getType()
public MappingElement getAbstractMapping()
null if nonepublic void setAbstractMapping(MappingElement abs)
abs - abstract null if nonepublic MappingElementBase getConcreteMapping()
null if nonepublic void setConcreteMapping(MappingElementBase con)
con - concrete null if nonepublic boolean isExtended()
true if extended, false if notpublic void setExtended(boolean ext)
true forces a concrete
<mapping> to be used.ext - public boolean isGenerated()
true if generated, false if notpublic void setGenerated(boolean gen)
gen - public boolean isUseAbstract()
true if abstract mapping used, false if notpublic void setUseAbstract(boolean abs)
abs - true if abstract mapping used, false if notpublic boolean isUseConcrete()
true if concrete mapping used, false if notpublic void setUseConcrete(boolean con)
con - true if concrete mapping used, false if notpublic QName getElementQName()
null result if a concrete mapping is being used, but may also return a non-null
result even if there is no concrete mapping - so check first using the isUseConcrete() method.null if not definedpublic void setElementQName(QName qname)
qname - element name, or null if not definedpublic String getExtendsType()
null if nonepublic QName getTypeQName()
null
result if an abstract mapping is being used, but may also return a non-null result even if there is
no abstract mapping - so check first using the isUseConcrete() method.null if not definedpublic Map getAccessMethodMap()
null after <mapping> constructed)public void setAccessMethodMap(Map map)
map - (non-null, use empty map if not applicable)Copyright © 2005-2014 jibx.org. All Rights Reserved.