|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sun.management.oss.impl.pm.measurement.ReportFormatImpl
Title: JSR090 Reference Implementation Description: Copyright: Copyright 2001 Ericsson Radio Systems AB Company: Ericsson
| Field Summary |
| Fields inherited from interface com.sun.management.oss.pm.measurement.ReportFormat |
ASCII, ASN1, BINARY, XML |
| Constructor Summary | |
ReportFormatImpl()
|
|
| Method Summary | |
java.lang.Object |
clone()
Deep copy of this instance. |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getOwner()
Get the vendor name or the organization that have defined the format. |
java.lang.String |
getSpecification()
Returns information about the specification of the report format. |
java.lang.String[] |
getSupportedSerializerTypes()
Return all the serializer types than can be created by this factory. |
java.lang.String |
getTechnology()
Gets the technology area that this report format is used for. |
int |
getType()
Gets the report format type. |
java.lang.String |
getVersion()
Get the report format version. |
int |
hashCode()
|
Serializer |
makeSerializer(java.lang.String serializerType)
Manufacture a Serializer for the object type inheriting the interface. |
void |
setOwner(java.lang.String owner)
Set the vendor name or the organization that have defined the format. |
void |
setSpecification(java.lang.String specification)
Sets the information about the specification of the report format. |
void |
setTechnology(java.lang.String technology)
Sets the technology area that this report format is used for. |
void |
setType(int type)
Sets the report format type. |
void |
setVersion(java.lang.String version)
Set the report format version. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ReportFormatImpl()
| Method Detail |
public java.lang.Object clone()
ReportFormat
clone in interface ReportFormatpublic int getType()
The type of the report format can have one of the following values:
getType in interface ReportFormatReportFormat.setType(int)public java.lang.String getVersion()
getVersion in interface ReportFormatReportFormat.setVersion(java.lang.String)public java.lang.String getOwner()
Returns the vendor name or organization name of the report format. For example: if the report format is 3GPP XML or ASN1 format this operation should return "3GPP".
getOwner in interface ReportFormatReportFormat.setOwner(java.lang.String)public java.lang.String getTechnology()
This operation indicates the technology area of the nodes in a measurement report of this report format. For example the operation should return "3G" for 3rd generation networks and "ATM" for a ATM networks.
The operation can return an empty string if the report format is applicable for many technology areas.
getTechnology in interface ReportFormatReportFormat.setTechnology(java.lang.String)public java.lang.String getSpecification()
This operation shall allow the client to get more detailed information on how to parse the report format. For example this operation should return "DOCTYPE MeasDataCollection SYSTEM MeasDataCollection.dtd" if the report format is according to 3GPP XML format.
If no applicable information is available, then an empty string should be returned.
getSpecification in interface ReportFormatReportFormat.setSpecification(java.lang.String)
public void setType(int type)
throws java.lang.IllegalArgumentException
ReportFormatThe type of the report format can have one of the following values:
setType in interface ReportFormattype - The report format type.
java.lang.IllegalArgumentException - Is raised if the input parameter is invalid.ReportFormat.getType()
public void setVersion(java.lang.String version)
throws java.lang.IllegalArgumentException
ReportFormat
setVersion in interface ReportFormatversion - The version of the report format.
java.lang.IllegalArgumentException - Is raised if the input parameter is invalid.ReportFormat.getVersion()
public void setOwner(java.lang.String owner)
throws java.lang.IllegalArgumentException
ReportFormat
setOwner in interface ReportFormatowner - The name of the Owner of the report format.
java.lang.IllegalArgumentException - Is raised if the input parameter is invalid.ReportFormat.getOwner()
public void setSpecification(java.lang.String specification)
throws java.lang.IllegalArgumentException
ReportFormatIf no applicable information is available, then an empty string should be set.
setSpecification in interface ReportFormatspecification - Information on how to parse the report format.
java.lang.IllegalArgumentException - Is raised if the input parameter is invalid.ReportFormat.getSpecification()
public void setTechnology(java.lang.String technology)
throws java.lang.IllegalArgumentException
ReportFormat
setTechnology in interface ReportFormattechnology - The name of the technology.
java.lang.IllegalArgumentException - Is raised if the input parameter is invalid.ReportFormat.getTechnology()public java.lang.String[] getSupportedSerializerTypes()
SerializerFactory
getSupportedSerializerTypes in interface SerializerFactory
public Serializer makeSerializer(java.lang.String serializerType)
throws java.lang.IllegalArgumentException
SerializerFactory
makeSerializer in interface SerializerFactoryserializerType - the class name of the serializer interface that must
be created. For example XmlSerializer.getClass().getName()
java.lang.IllegalArgumentException - if no serializer can be created matching
the provided Serializer Type.public int hashCode()
public boolean equals(java.lang.Object o)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||