Package jadex.xml
Class MappingInfo
- java.lang.Object
-
- jadex.xml.MappingInfo
-
public class MappingInfo extends java.lang.ObjectThe mapping info stores all for for mapping between the different elements of an object, i.e. attributes, subojects etc.
-
-
Field Summary
Fields Modifier and Type Field Description protected AttributeInfo[]attributeinfosThe attributes infos.protected java.lang.ObjectcommentinfoThe comment info.protected java.lang.ObjectcontentinfoThe content info.protected java.lang.BooleanincludefieldsThe include fields flag.protected java.lang.BooleanincludemethodsThe include methods flag.protected java.lang.BooleanprefertagsThe include fields flag.protected SubobjectInfo[]subobjectinfosThe subobject infos.protected TypeInfosupertypeThe supertype.
-
Constructor Summary
Constructors Constructor Description MappingInfo(TypeInfo supertype)Create a new mapping info.MappingInfo(TypeInfo supertype, AttributeInfo[] attributeinfos)Create a new mapping info.MappingInfo(TypeInfo supertype, AttributeInfo[] attributeinfos, SubobjectInfo[] subobjectinfos)Create a new mapping info.MappingInfo(TypeInfo supertype, SubobjectInfo[] subobjectinfos)Create a new mapping info.MappingInfo(TypeInfo supertype, java.lang.Object commentinfo, java.lang.Object contentinfo)Create a new mapping info.MappingInfo(TypeInfo supertype, java.lang.Object commentinfo, java.lang.Object contentinfo, AttributeInfo[] attributeinfos)Create a new mapping info.MappingInfo(TypeInfo supertype, java.lang.Object commentinfo, java.lang.Object contentinfo, AttributeInfo[] attributeinfos, SubobjectInfo[] subobjectinfos)Create a new mapping info.MappingInfo(TypeInfo supertype, java.lang.Object commentinfo, java.lang.Object contentinfo, AttributeInfo[] attributeinfos, SubobjectInfo[] subobjectinfos, java.lang.Boolean includemethods, java.lang.Boolean includefields, java.lang.Boolean prefertags)Create a new mapping info.MappingInfo(java.lang.Boolean includemethods, java.lang.Boolean includefields)Create a new mapping info.MappingInfo(java.lang.Boolean includemethods, java.lang.Boolean includefields, java.lang.Boolean prefertags)Create a new mapping info.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeInfo[]getAttributeInfos()Get the attributeinfos.java.lang.ObjectgetCommentInfo()Get the commentinfo.java.lang.ObjectgetContentInfo()Get the contentinfo.java.lang.BooleangetIncludeFields()Get the includefields.java.lang.BooleangetIncludeMethods()Get the includemethods.java.lang.BooleangetPreferTags()Get the prefertags.SubobjectInfo[]getSubobjectInfos()Get the subobjectinfos.TypeInfogetSupertype()Get the supertype.java.lang.StringtoString()Get the string representation.
-
-
-
Field Detail
-
supertype
protected TypeInfo supertype
The supertype.
-
commentinfo
protected java.lang.Object commentinfo
The comment info.
-
contentinfo
protected java.lang.Object contentinfo
The content info.
-
attributeinfos
protected AttributeInfo[] attributeinfos
The attributes infos.
-
subobjectinfos
protected SubobjectInfo[] subobjectinfos
The subobject infos.
-
includemethods
protected java.lang.Boolean includemethods
The include methods flag.
-
includefields
protected java.lang.Boolean includefields
The include fields flag.
-
prefertags
protected java.lang.Boolean prefertags
The include fields flag.
-
-
Constructor Detail
-
MappingInfo
public MappingInfo(java.lang.Boolean includemethods, java.lang.Boolean includefields)Create a new mapping info.
-
MappingInfo
public MappingInfo(java.lang.Boolean includemethods, java.lang.Boolean includefields, java.lang.Boolean prefertags)Create a new mapping info.
-
MappingInfo
public MappingInfo(TypeInfo supertype)
Create a new mapping info.
-
MappingInfo
public MappingInfo(TypeInfo supertype, AttributeInfo[] attributeinfos)
Create a new mapping info.
-
MappingInfo
public MappingInfo(TypeInfo supertype, SubobjectInfo[] subobjectinfos)
Create a new mapping info.
-
MappingInfo
public MappingInfo(TypeInfo supertype, java.lang.Object commentinfo, java.lang.Object contentinfo)
Create a new mapping info.
-
MappingInfo
public MappingInfo(TypeInfo supertype, AttributeInfo[] attributeinfos, SubobjectInfo[] subobjectinfos)
Create a new mapping info.
-
MappingInfo
public MappingInfo(TypeInfo supertype, java.lang.Object commentinfo, java.lang.Object contentinfo, AttributeInfo[] attributeinfos)
Create a new mapping info.
-
MappingInfo
public MappingInfo(TypeInfo supertype, java.lang.Object commentinfo, java.lang.Object contentinfo, AttributeInfo[] attributeinfos, SubobjectInfo[] subobjectinfos)
Create a new mapping info.
-
MappingInfo
public MappingInfo(TypeInfo supertype, java.lang.Object commentinfo, java.lang.Object contentinfo, AttributeInfo[] attributeinfos, SubobjectInfo[] subobjectinfos, java.lang.Boolean includemethods, java.lang.Boolean includefields, java.lang.Boolean prefertags)
Create a new mapping info.
-
-
Method Detail
-
getSupertype
public TypeInfo getSupertype()
Get the supertype.- Returns:
- The supertype.
-
getCommentInfo
public java.lang.Object getCommentInfo()
Get the commentinfo.- Returns:
- The commentinfo.
-
getContentInfo
public java.lang.Object getContentInfo()
Get the contentinfo.- Returns:
- The contentinfo.
-
getAttributeInfos
public AttributeInfo[] getAttributeInfos()
Get the attributeinfos.- Returns:
- The attributeinfos.
-
getSubobjectInfos
public SubobjectInfo[] getSubobjectInfos()
Get the subobjectinfos.- Returns:
- The subobjectinfos.
-
getIncludeFields
public java.lang.Boolean getIncludeFields()
Get the includefields.- Returns:
- The includefields.
-
getIncludeMethods
public java.lang.Boolean getIncludeMethods()
Get the includemethods.- Returns:
- the includemethods.
-
getPreferTags
public java.lang.Boolean getPreferTags()
Get the prefertags.- Returns:
- The prefertags.
-
toString
public java.lang.String toString()
Get the string representation.- Overrides:
toStringin classjava.lang.Object- Returns:
- The string representation.
-
-