/** * This file was auto-generated by mofcomp -j version 1.0.0 on Wed Jan 12 * 09:21:06 CET 2011. */ package org.opennaas.extensions.router.model; import java.io.*; import java.lang.Exception; /** * This Class contains accessor and mutator methods for all properties defined in the CIM class SupportAccess as well as methods comparable to the * invokeMethods defined for this class. This Class implements the SupportAccessBean Interface. The CIM class SupportAccess is described as follows: * * The CIM_SupportAccess association defines how to obtain assistance for a Product. */ public class SupportAccess extends ManagedElement implements Serializable { /** * This constructor creates a SupportAccessBeanImpl Class which implements the SupportAccessBean Interface, and encapsulates the CIM class * SupportAccess in a Java Bean. The CIM class SupportAccess is described as follows: * * The CIM_SupportAccess association defines how to obtain assistance for a Product. */ public SupportAccess() { }; /** * The following constants are defined for use with the ValueMap/Values qualified property supportAccessId. */ private String supportAccessId; /** * This method returns the SupportAccess.supportAccessId property value. This property is described as follows: * * SupportAccessID is an arbitrary, free form string defined by the Product Vendor or by the organization that deploys the Product. This property, * since it is a key, should be unique throughout the enterprise. * * @return String current supportAccessId property value * @exception Exception */ public String getSupportAccessId() { return this.supportAccessId; } // getSupportAccessId /** * This method sets the SupportAccess.supportAccessId property value. This property is described as follows: * * SupportAccessID is an arbitrary, free form string defined by the Product Vendor or by the organization that deploys the Product. This property, * since it is a key, should be unique throughout the enterprise. * * @param String * new supportAccessId property value * @exception Exception */ public void setSupportAccessId(String supportAccessId) { this.supportAccessId = supportAccessId; } // setSupportAccessId /** * The following constants are defined for use with the ValueMap/Values qualified property description. */ private String description; /** * This method returns the SupportAccess.description property value. This property is described as follows: * * A textual description of the type of Support provided. * * @return String current description property value * @exception Exception */ @Override public String getDescription() { return this.description; } // getDescription /** * This method sets the SupportAccess.description property value. This property is described as follows: * * A textual description of the type of Support provided. * * @param String * new description property value * @exception Exception */ @Override public void setDescription(String description) { this.description = description; } // setDescription /** * The following constants are defined for use with the ValueMap/Values qualified property communicationInfo. */ private String communicationInfo; /** * This method returns the SupportAccess.communicationInfo property value. This property is described as follows: * * CommunicationInfo provides the details of the Communication Mode. For example, if the CommunicationMode is 'Phone', CommunicationInfo specifies * the phone number to be called. * * @return String current communicationInfo property value * @exception Exception */ public String getCommunicationInfo() { return this.communicationInfo; } // getCommunicationInfo /** * This method sets the SupportAccess.communicationInfo property value. This property is described as follows: * * CommunicationInfo provides the details of the Communication Mode. For example, if the CommunicationMode is 'Phone', CommunicationInfo specifies * the phone number to be called. * * @param String * new communicationInfo property value * @exception Exception */ public void setCommunicationInfo(String communicationInfo) { this.communicationInfo = communicationInfo; } // setCommunicationInfo /** * The following constants are defined for use with the ValueMap/Values qualified property CommunicationMode. */ public enum CommunicationMode { OTHER, PHONE, FAX, BBS, ONLINE_SERVICE, WEB_PAGE, FTP, E_MAIL } private CommunicationMode communicationMode; /** * This method returns the SupportAccess.communicationMode property value. This property is described as follows: * * CommunicationMode defines the form of communication in order to obtain support. For example, phone communication (value =2), fax (3) or email * (8) can be specified. * * @return int current communicationMode property value * @exception Exception */ public CommunicationMode getCommunicationMode() { return this.communicationMode; } // getCommunicationMode /** * This method sets the SupportAccess.communicationMode property value. This property is described as follows: * * CommunicationMode defines the form of communication in order to obtain support. For example, phone communication (value =2), fax (3) or email * (8) can be specified. * * @param int new communicationMode property value * @exception Exception */ public void setCommunicationMode(CommunicationMode communicationMode) { this.communicationMode = communicationMode; } // setCommunicationMode /** * The following constants are defined for use with the ValueMap/Values qualified property locale. */ private String locale; /** * This method returns the SupportAccess.locale property value. This property is described as follows: * * Locale defines the geographic region and/or language dialect to which this Support resource pertains. * * @return String current locale property value * @exception Exception */ public String getLocale() { return this.locale; } // getLocale /** * This method sets the SupportAccess.locale property value. This property is described as follows: * * Locale defines the geographic region and/or language dialect to which this Support resource pertains. * * @param String * new locale property value * @exception Exception */ public void setLocale(String locale) { this.locale = locale; } // setLocale } // Class SupportAccess