Class XMLExporterParams
java.lang.Object
com.primavera.integration.client.xml.xmlexporter.XMLExporterParams
- All Implemented Interfaces:
Serializable
This class represents a parameters object associated with an XMLExporterEvent. You can specify
to skip a particular business object type and can also specify the fields to be exported. If
no fields are specified or if this parameter object is not modified, the default XML export
fields will be used. You can see the list of default XML fields by calling
getDefaultXMLExportFields() on each business object class.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets the name of the business object class about to be exportedString[]Gets the array of fields to be exported for this business object typeGets a copy of the fields to be exported for this business object type as a Set.booleanReports whether or not this type of business object will be exportedvoidSets the array of fields to be exported for this business object typevoidSets the array of fields to be exported for this business object typevoidsetIncluded(boolean b) Specifies whether to export this type of business object or not.
-
Method Details
-
getClassName
Gets the name of the business object class about to be exported- Returns:
- String the class name
-
getFields
Gets the array of fields to be exported for this business object type- Returns:
- String[] the array of field names
-
getFieldSet
Gets a copy of the fields to be exported for this business object type as a Set. Altering the contents of the returned Set does not affect the fields being exported.- Returns:
- String[] the array of field names
-
setFields
Sets the array of fields to be exported for this business object type- Parameters:
fields- the array of field names
-
setFields
Sets the array of fields to be exported for this business object type- Parameters:
fields- the set of field names
-
isIncluded
public boolean isIncluded()Reports whether or not this type of business object will be exported- Returns:
- boolean true if the business object type will be exported
-
setIncluded
public void setIncluded(boolean b) Specifies whether to export this type of business object or not. The default is true.- Parameters:
b- true to export, false to skip
-