public class ReportBean extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<ReportBean>, java.lang.Cloneable
Constructor and Description |
---|
ReportBean()
Create an empty report bean.
|
ReportBean(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element model)
Create a report bean from model.
|
Modifier and Type | Method and Description |
---|---|
UserDefinedBean |
addUserDefined(UserDefinedBean bean)
Set the specified value with the specified user defined in this report.
|
java.lang.Object |
clone()
Creates and returns a copy of this object.
|
int |
compareTo(ReportBean o)
Compares this object with the specified object for order.
|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.
|
java.util.List<UserDefinedBean> |
getAllUserDefinedBean()
Collect and return all
UserDefinedBean . |
java.lang.Boolean |
getDefaultReport()
Return a true if this report is set to default.
|
java.lang.String |
getDescription()
Return description.
|
java.lang.String |
getFileName()
Return a report file name.
|
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element |
getModel()
Get the report element.
|
java.lang.String |
getName()
Return name.
|
ReportPropertyBean |
getReportProperty()
Return a report property.
|
PackageSelectionBean |
getSelectedPackage()
Return a selected package.
|
java.util.List<UserDefinedBean> |
getUserDefinedList()
Return List of
UserDefinedBean . |
int |
hashCode()
Returns a hash code value for the object.
|
boolean |
isModel()
Use to determine if the object is loaded from XML file.
|
void |
setDefaultReport(java.lang.Boolean defaultReport)
Set a default report.
|
void |
setDescription(java.lang.String description)
Set description.
|
void |
setFileName(java.lang.String reportFile)
Set a report filename.
|
void |
setName(java.lang.String name)
Set name.
|
void |
setReportProperty(ReportPropertyBean reportProperty)
Set a report property.
|
void |
setSelectedPackage(PackageSelectionBean selectedPackage)
Set a selected package.
|
void |
setUserDefinedList(java.util.List<UserDefinedBean> userdefinedList)
Set List of
UserDefinedBean . |
java.lang.String |
toString()
Return name of this descriptor.
|
public ReportBean()
public ReportBean(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element model)
model
- elementpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to setpublic boolean isModel()
public java.lang.String getDescription()
public java.lang.String getFileName()
public void setFileName(java.lang.String reportFile)
reportFile
- the report filename to setpublic void setDescription(java.lang.String description)
description
- the description to setpublic java.util.List<UserDefinedBean> getUserDefinedList()
UserDefinedBean
.public void setUserDefinedList(java.util.List<UserDefinedBean> userdefinedList)
UserDefinedBean
.userdefinedList
- the userdefinedList to setpublic java.lang.Boolean getDefaultReport()
public void setDefaultReport(java.lang.Boolean defaultReport)
defaultReport
- the default report to setpublic com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element getModel()
public PackageSelectionBean getSelectedPackage()
public void setSelectedPackage(PackageSelectionBean selectedPackage)
selectedPackage
- the selected package to setpublic ReportPropertyBean getReportProperty()
public void setReportProperty(ReportPropertyBean reportProperty)
reportProperty
- the report property to setpublic int compareTo(ReportBean o)
compareTo
in interface java.lang.Comparable<ReportBean>
o
- the Object to be compared.public UserDefinedBean addUserDefined(UserDefinedBean bean)
bean
- user defined beanpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- if the object's class does not support the Cloneable
interface. Subclasses that override the clone
method can also throw this
exception to indicate that an instance cannot be cloned.Cloneable
public java.util.List<UserDefinedBean> getAllUserDefinedBean()
UserDefinedBean
.UserDefinedBean
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the reference object with which to compare.true
if this object is the same as the obj argument; false
otherwise.