2362N/A * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 0N/A * This class is an internal class which is used to represent RowStatus 0N/A * codes as defined in RFC 2579. 0N/A * It defines an additional code, <i>unspecified</i>, which is 0N/A * implementation specific, and is used to identify 0N/A * unspecified actions (when for instance the RowStatus variable 0N/A * is not present in the varbind list) or uninitialized values. 0N/A * mibgen does not generate objects of this class but any variable 0N/A * using the RowStatus textual convention can be converted into an 0N/A * object of this class thanks to the 0N/A * <code>EnumRowStatus(Enumerated valueIndex)</code> constructor. 0N/A * <p><b>This API is a Sun Microsystems internal API and is subject 0N/A * to change without notice.</b></p> 0N/A * This value is SNMP Runtime implementation specific, and is used to identify 0N/A * unspecified actions (when for instance the RowStatus variable 0N/A * is not present in the varbind list) or uninitialized values. 0N/A * This value corresponds to the <i>active</i> RowStatus, as defined in 0N/A * RFC 2579 from SMIv2: 0N/A * <i>active</i> indicates that the conceptual row is available for 0N/A * use by the managed device; 0N/A * This value corresponds to the <i>notInService</i> RowStatus, as 0N/A * defined in RFC 2579 from SMIv2: 0N/A * <i>notInService</i> indicates that the conceptual 0N/A * row exists in the agent, but is unavailable for use by 0N/A * the managed device; <i>notInService</i> has 0N/A * no implication regarding the internal consistency of 0N/A * the row, availability of resources, or consistency with 0N/A * the current state of the managed device; 0N/A * This value corresponds to the <i>notReady</i> RowStatus, as defined 0N/A * in RFC 2579 from SMIv2: 0N/A * <i>notReady</i> indicates that the conceptual row 0N/A * exists in the agent, but is missing information 0N/A * necessary in order to be available for use by the 0N/A * managed device (i.e., one or more required columns in 0N/A * the conceptual row have not been instantiated); 0N/A * This value corresponds to the <i>createAndGo</i> RowStatus, 0N/A * as defined in RFC 2579 from SMIv2: 0N/A * <i>createAndGo</i> is supplied by a management 0N/A * station wishing to create a new instance of a 0N/A * conceptual row and to have its status automatically set 0N/A * to active, making it available for use by the managed 0N/A * This value corresponds to the <i>createAndWait</i> RowStatus, 0N/A * as defined in RFC 2579 from SMIv2: 0N/A * <i>createAndWait</i> is supplied by a management 0N/A * station wishing to create a new instance of a 0N/A * conceptual row (but not make it available for use by 0N/A * the managed device); 0N/A * This value corresponds to the <i>destroy</i> RowStatus, as defined in 0N/A * RFC 2579 from SMIv2: 0N/A * <i>destroy</i> is supplied by a management station 0N/A * wishing to delete all of the instances associated with 0N/A * an existing conceptual row. 0N/A * Build an <code>EnumRowStatus</code> from an <code>int</code>. 0N/A * @param valueIndex should be either 0 (<i>unspecified</i>), or one of 0N/A * the values defined in RFC 2579. 0N/A * @exception IllegalArgumentException if the given 0N/A * <code>valueIndex</code> is not valid. 0N/A * Build an <code>EnumRowStatus</code> from an <code>Enumerated</code>. 0N/A * @param valueIndex should be either 0 (<i>unspecified</i>), or one of 0N/A * the values defined in RFC 2579. 0N/A * @exception IllegalArgumentException if the given 0N/A * <code>valueIndex</code> is not valid. 0N/A * Build an <code>EnumRowStatus</code> from a <code>long</code>. 0N/A * @param valueIndex should be either 0 (<i>unspecified</i>), or one of 0N/A * the values defined in RFC 2579. 0N/A * @exception IllegalArgumentException if the given 0N/A * <code>valueIndex</code> is not valid. 0N/A * Build an <code>EnumRowStatus</code> from an <code>Integer</code>. 0N/A * @param valueIndex should be either 0 (<i>unspecified</i>), or one of 0N/A * the values defined in RFC 2579. 0N/A * @exception IllegalArgumentException if the given 0N/A * <code>valueIndex</code> is not valid. 0N/A * Build an <code>EnumRowStatus</code> from a <code>Long</code>. 0N/A * @param valueIndex should be either 0 (<i>unspecified</i>), or one of 0N/A * the values defined in RFC 2579. 0N/A * @exception IllegalArgumentException if the given 0N/A * <code>valueIndex</code> is not valid. 0N/A * Build an <code>EnumRowStatus</code> with <i>unspecified</i> value. 0N/A * Build an <code>EnumRowStatus</code> from a <code>String</code>. 0N/A * @param x should be either "unspecified", or one of 0N/A * the values defined in RFC 2579 ("active", "notReady", etc...) 0N/A * @exception IllegalArgumentException if the given String 0N/A * <code>x</code> is not valid. 0N/A * Build an <code>EnumRowStatus</code> from an <code>SnmpInt</code>. 0N/A * @param valueIndex should be either 0 (<i>unspecified</i>), or one of 0N/A * the values defined in RFC 2579. 0N/A * @exception IllegalArgumentException if the given 0N/A * <code>valueIndex</code> is not valid. 0N/A * Build an SnmpValue from this object. 0N/A * @exception IllegalArgumentException if this object holds an 0N/A * <i>unspecified</i> value. 0N/A * @return an SnmpInt containing this object value. 0N/A * Check that the given <code>value</code> is valid. 0N/A * <ul><li><i>unspecified(0)</i></li> 0N/A * <li><i>active(1)</i></li> 0N/A * <li><i>notInService(2)</i></li> 0N/A * <li><i>notReady(3)</i></li> 0N/A * <li><i>createAndGo(4)</i></li> 0N/A * <li><i>createAndWait(5)</i></li> 0N/A * <li><i>destroy(6)</i></li> 0N/A // Documented in Enumerated 0N/A // Documented in Enumerated 0N/A // Initialize the mapping tables.