Click here to Skip to main content
11,437,713 members (49,195 online)
Click here to Skip to main content
Add your own
alternative version

How to Retrieve EMC Centera Cluster/Pool Capabilities

, 19 Oct 2007
This article shows you how to connect to a Centera Storage appliance and get the Centera Cluster Capabilities.
code.zip
AdrdProjectCentera1
AdrdCenteraMan.ico
bin
Debug
us1_profile1_rwqe.pea
us1_profile2_rwqedp.pea
us1_profile3_rwqedpD.pea
us2_profile1_rqecw.pea
us2_profile2_rdqecw.pea
us2_profile3_rdqeDcw.pea
us3_profile1_rqecw.pea
us3_profile2_rdqecw.pea
us3_profile3_rdqeDcw.pea
us4_profile1_rwqec.pea
us4_profile2_rwqecd.pea
us4_profile3_rwqecdD.pea
us5_profile1_rwqec.pea
us5_profile2_rwqecd.pea
us5_profile3_rwqecdD.pea
CenterIsInTheNeighborhood.ico
Properties
Settings.settings
serveronly.bmp
demo.zip
us5_profile3_rwqecdD.pea
AdrdProjectCentera1.exe
FPLibrary.dll
fpos32.dll
fpparser.dll
FPSDK.dll
pai_module.dll
us1_profile1_rwqe.pea
us1_profile2_rwqedp.pea
us1_profile3_rwqedpD.pea
us2_profile1_rqecw.pea
us2_profile2_rdqecw.pea
us2_profile3_rdqeDcw.pea
us3_profile1_rqecw.pea
us3_profile2_rdqecw.pea
us3_profile3_rdqeDcw.pea
us4_profile1_rwqec.pea
us4_profile2_rwqecd.pea
us4_profile3_rwqecdD.pea
us5_profile1_rwqec.pea
us5_profile2_rwqecd.pea
using System;
using System.Collections.Generic;
using System.Text;

namespace AdrdProjectCentera1
{
    public class AdrdCenteraRetentionInfoItem : System.Object, ICloneable
    {
        #region Class Private Variables
        ///<summary>
        ///This is a private class variable to hold the value of the field VariableRetentionMax
        ///
        /// Prog. By: Adel S. Edd
        ///The Class Type :System.String
        ///<copywrite>Adrdweb.com and Adel S. Eddin</copywrite>
        ///<Date>10/1/2007 12:00:00 AM</Date>
        ///<remarks>
        ///1) The Variable m_Variableretentionmax is the private variable used in the Property
        ///Variableretentionmax to save the value Sysobject_xtype from the  object.
        ///2) The Variable m_Variableretentionmax_Dirty is used in the Property Variableretentionmax SET Method
        ///to indicate that the values have changed
        ///3) The Variable m_Variableretentionmax_IsNull indicate if the variable m_Sysobject_xtype is null or not
        /// <list type="table">
        /// <listheader>
        /// <term>Variable Name</term>
        /// <description>Value of Element</description>
        /// </listheader>
        /// <item>
        /// <term>m_Variableretentionmax</term>
        /// <description>Description</description>
        /// </item>
        /// <item>
        /// <term>m_Variableretentionmax_Dirty</term>
        /// <description>True if the Set method Variableretentionmax is called otherwise false</description>
        /// </item>
        /// <item> 
        /// <term>m_Variableretentionmax_IsNull</term>
        /// <description>True if the value of m_Variableretentionmax is null, otherwise false</description>
        /// </item>
        /// </list>
        /// </remarks>
        /// <code>
        ///        private System.String m_Variableretentionmax= "";
        ///        private System.Boolean m_Variableretentionmax_Dirty = false;
        ///        private System.Boolean m_Variableretentionmax_IsNull = false;
        /// </code>
        ///</summary>
        /// <seealso cref="System.String" />
        private System.String m_Variableretentionmax = "";
        private System.Boolean m_Variableretentionmax_Dirty = false;
        private System.Boolean m_Variableretentionmax_IsNull = false;

        ///<summary>
        ///This is a private class variable to hold the value of the field FixedRetentionMin
        ///
        /// Prog. By: Adel S. Edd
        ///The Class Type :System.String
        ///<copywrite>Adrdweb.com and Adel S. Eddin</copywrite>
        ///<Date>10/1/2007 12:00:00 AM</Date>
        ///<remarks>
        ///1) The Variable m_Fixedretentionmin is the private variable used in the Property
        ///Fixedretentionmin to save the value Sysobject_xtype from the  object.
        ///2) The Variable m_Fixedretentionmin_Dirty is used in the Property Fixedretentionmin SET Method
        ///to indicate that the values have changed
        ///3) The Variable m_Fixedretentionmin_IsNull indicate if the variable m_Sysobject_xtype is null or not
        /// <list type="table">
        /// <listheader>
        /// <term>Variable Name</term>
        /// <description>Value of Element</description>
        /// </listheader>
        /// <item>
        /// <term>m_Fixedretentionmin</term>
        /// <description>Description</description>
        /// </item>
        /// <item>
        /// <term>m_Fixedretentionmin_Dirty</term>
        /// <description>True if the Set method Fixedretentionmin is called otherwise false</description>
        /// </item>
        /// <item> 
        /// <term>m_Fixedretentionmin_IsNull</term>
        /// <description>True if the value of m_Fixedretentionmin is null, otherwise false</description>
        /// </item>
        /// </list>
        /// </remarks>
        /// <code>
        ///        private System.String m_Fixedretentionmin= "";
        ///        private System.Boolean m_Fixedretentionmin_Dirty = false;
        ///        private System.Boolean m_Fixedretentionmin_IsNull = false;
        /// </code>
        ///</summary>
        /// <seealso cref="System.String" />
        private System.String m_Fixedretentionmin = "";
        private System.Boolean m_Fixedretentionmin_Dirty = false;
        private System.Boolean m_Fixedretentionmin_IsNull = false;

        ///<summary>
        ///This is a private class variable to hold the value of the field FixedRetentionMax
        ///
        /// Prog. By: Adel S. Edd
        ///The Class Type :System.String
        ///<copywrite>Adrdweb.com and Adel S. Eddin</copywrite>
        ///<Date>10/1/2007 12:00:00 AM</Date>
        ///<remarks>
        ///1) The Variable m_Fixedretentionmax is the private variable used in the Property
        ///Fixedretentionmax to save the value Sysobject_xtype from the  object.
        ///2) The Variable m_Fixedretentionmax_Dirty is used in the Property Fixedretentionmax SET Method
        ///to indicate that the values have changed
        ///3) The Variable m_Fixedretentionmax_IsNull indicate if the variable m_Sysobject_xtype is null or not
        /// <list type="table">
        /// <listheader>
        /// <term>Variable Name</term>
        /// <description>Value of Element</description>
        /// </listheader>
        /// <item>
        /// <term>m_Fixedretentionmax</term>
        /// <description>Description</description>
        /// </item>
        /// <item>
        /// <term>m_Fixedretentionmax_Dirty</term>
        /// <description>True if the Set method Fixedretentionmax is called otherwise false</description>
        /// </item>
        /// <item> 
        /// <term>m_Fixedretentionmax_IsNull</term>
        /// <description>True if the value of m_Fixedretentionmax is null, otherwise false</description>
        /// </item>
        /// </list>
        /// </remarks>
        /// <code>
        ///        private System.String m_Fixedretentionmax= "";
        ///        private System.Boolean m_Fixedretentionmax_Dirty = false;
        ///        private System.Boolean m_Fixedretentionmax_IsNull = false;
        /// </code>
        ///</summary>
        /// <seealso cref="System.String" />
        private System.String m_Fixedretentionmax = "";
        private System.Boolean m_Fixedretentionmax_Dirty = false;
        private System.Boolean m_Fixedretentionmax_IsNull = false;

        ///<summary>
        ///This is a private class variable to hold the value of the field RetentionDefault
        ///
        /// Prog. By: Adel S. Edd
        ///The Class Type :System.String
        ///<copywrite>Adrdweb.com and Adel S. Eddin</copywrite>
        ///<Date>10/1/2007 12:00:00 AM</Date>
        ///<remarks>
        ///1) The Variable m_Retentiondefault is the private variable used in the Property
        ///Retentiondefault to save the value Sysobject_xtype from the  object.
        ///2) The Variable m_Retentiondefault_Dirty is used in the Property Retentiondefault SET Method
        ///to indicate that the values have changed
        ///3) The Variable m_Retentiondefault_IsNull indicate if the variable m_Sysobject_xtype is null or not
        /// <list type="table">
        /// <listheader>
        /// <term>Variable Name</term>
        /// <description>Value of Element</description>
        /// </listheader>
        /// <item>
        /// <term>m_Retentiondefault</term>
        /// <description>Description</description>
        /// </item>
        /// <item>
        /// <term>m_Retentiondefault_Dirty</term>
        /// <description>True if the Set method Retentiondefault is called otherwise false</description>
        /// </item>
        /// <item> 
        /// <term>m_Retentiondefault_IsNull</term>
        /// <description>True if the value of m_Retentiondefault is null, otherwise false</description>
        /// </item>
        /// </list>
        /// </remarks>
        /// <code>
        ///        private System.String m_Retentiondefault= "";
        ///        private System.Boolean m_Retentiondefault_Dirty = false;
        ///        private System.Boolean m_Retentiondefault_IsNull = false;
        /// </code>
        ///</summary>
        /// <seealso cref="System.String" />
        private System.String m_Retentiondefault = "";
        private System.Boolean m_Retentiondefault_Dirty = false;
        private System.Boolean m_Retentiondefault_IsNull = false;

        #endregion
        #region Class Constructor Method
        public AdrdCenteraRetentionInfoItem()
            : base()
        {
            ///<summary>
            ///This is the initialization of the private class variable to hold the value of the field m_Variableretentionmax
            ///
            ///<remarks>
            ///</remarks>
            ///<code>
            ///        m_Variableretentionmax = "";
            ///</code>
            ///</summary>
            /// <seealso cref="System.String" />
            m_Variableretentionmax = "";
            ///<summary>
            ///This is the initialization of the private class variable to hold the value of the field m_Fixedretentionmin
            ///
            ///<remarks>
            ///</remarks>
            ///<code>
            ///        m_Fixedretentionmin = "";
            ///</code>
            ///</summary>
            /// <seealso cref="System.String" />
            m_Fixedretentionmin = "";
            ///<summary>
            ///This is the initialization of the private class variable to hold the value of the field m_Fixedretentionmax
            ///
            ///<remarks>
            ///</remarks>
            ///<code>
            ///        m_Fixedretentionmax = "";
            ///</code>
            ///</summary>
            /// <seealso cref="System.String" />
            m_Fixedretentionmax = "";
            ///<summary>
            ///This is the initialization of the private class variable to hold the value of the field m_Retentiondefault
            ///
            ///<remarks>
            ///</remarks>
            ///<code>
            ///        m_Retentiondefault = "";
            ///</code>
            ///</summary>
            /// <seealso cref="System.String" />
            m_Retentiondefault = "";
        }
        #endregion
        #region Properties
        ///<summary>
        ///Gets or Sets the filed  Variableretentionmax value
        ///
        ///</summary>
        ///<code>
        ///public System.String Variableretentionmax
        ///{
        ///get
        ///	{
        ///		return m_Variableretentionmax;
        ///	}
        ///set
        ///	{
        ///	   if (value.GetType().ToString().ToLower()  == "System.String".ToLower()    )
        ///	         m_Variableretentionmax = value ;
        ///	   else
        ///	      throw new Exception("Invalid Value Assigned to the Variable m_Variableretentionmax");
        ///
        ///       m_Variableretentionmax_Dirty = true;
        ///	}
        ///}
        ///
        ///
        ///</code>
        /// <returns>
        /// System.String
        /// </returns>
        /// <example>
        /// 
        /// The following is an example on how to get the value from the property Variableretentionmax  
        /// 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem();
        ///		System.String Temp_Variableretentionmax = "Hello World";
        ///		Temp_Variableretentionmax = obj.Variableretentionmax;
        ///		Console.Write(Temp_Variableretentionmax)
        /// 
        /// The following is an example on how ro set the value of the Variableretentionmax 
        /// 
        ///		System.String Temp_Variableretentionmax = "Hello World"; 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem(); 
        ///		obj.Variableretentionmax = Temp_Variableretentionmax; 
        ///		//Now we call the Get to output the value to the Console 
        ///		Console.Write(obj.Variableretentionmax) 
        ///		 
        /// </example>
        /// <seealso cref="System.String" />
        public System.String Variableretentionmax
        {
            get
            {
                return m_Variableretentionmax;
            }
            set
            {
                if (value.GetType().ToString().ToLower() == "System.String".ToLower())
                    m_Variableretentionmax = value;
                else
                    throw new Exception("Invalid Value Assigned to the Variable m_Variableretentionmax");

                m_Variableretentionmax_Dirty = true;
            }
        }

        ///<summary>
        ///Gets or Sets the filed  Variableretentionmax_Dirty value
        ///
        ///</summary>
        ///<code>
        ///public System.Boolean IsVariableretentionmaxDirty
        ///{
        ///get
        ///	{
        ///       return m_Variableretentionmax_Dirty ;
        ///	}
        ///set
        ///	{
        ///       m_Variableretentionmax_Dirty = value;
        ///	}
        ///}
        ///
        ///
        ///</code>
        /// <returns>
        /// System.Boolean
        /// </returns>
        /// <example>
        /// The following is an example on how to get the value from the property VariableretentionmaxDirty  
        /// 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem();
        ///		System.String Temp_Variableretentionmax = false;
        ///		Temp_Variableretentionmax = obj.Variableretentionmax;
        ///		Console.Write(Temp_Variableretentionmax.ToString())
        /// 
        /// The following is an example on how ro set the value of the VariableretentionmaxDirty 
        /// 
        ///		System.String Temp_VariableretentionmaxDirty = ; 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem(); 
        ///		obj.VariableretentionmaxDirty = Temp_Variableretentionmax; 
        ///		//Now we call the Get to output the value to the Console 
        ///		Console.Write(obj.VariableretentionmaxDirty.ToString()) 
        ///		 
        /// </example>
        /// <seealso cref="System.String" />
        public System.Boolean IsVariableretentionmaxDirty
        {
            get
            {
                return m_Variableretentionmax_Dirty;
            }
            set
            {
                m_Variableretentionmax_Dirty = value;
            }
        }

        ///<summary>
        ///Gets or Sets the filed  Variableretentionmax_IsNull value
        ///
        ///</summary>
        ///<code>
        ///public System.Boolean Variableretentionmax_IsNull
        ///{
        ///get
        ///	{
        ///       return m_Variableretentionmax_IsNull ;
        ///	}
        ///set
        ///	{
        ///       m_Variableretentionmax_IsNull = value;
        ///	}
        ///}
        ///
        ///
        ///</code>
        /// <returns>
        /// System.Boolean
        ///</returns>
        /// <example>
        /// 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem();
        ///		System.String Temp_VariableretentionmaxIsNull = false;
        ///		Temp_VariableretentionmaxIsNull = obj.Variableretentionmax;
        ///		Console.Write(Temp_VariableretentionmaxIsNull.ToString())
        /// 
        /// The following is an example on how to set the value of the VariableretentionmaxIsNull 
        /// 
        ///		System.String Temp_VariableretentionmaxIsNull = ; 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem(); 
        ///		obj.VariableretentionmaxIsNull = Temp_Variableretentionmax; 
        ///		//Now we call the Get to output the value to the Console 
        ///		Console.Write(obj.VariableretentionmaxIsNull.ToString()); 
        ///		 
        /// </example>
        /// <seealso cref="System.String" />
        public System.Boolean Variableretentionmax_IsNull
        {
            get
            {
                return m_Variableretentionmax_IsNull;
            }
            set
            {
                m_Variableretentionmax_IsNull = value;
            }
        }

        ///<summary>
        ///Gets or Sets the filed  Fixedretentionmin value
        ///
        ///</summary>
        ///<code>
        ///public System.String Fixedretentionmin
        ///{
        ///get
        ///	{
        ///		return m_Fixedretentionmin;
        ///	}
        ///set
        ///	{
        ///	   if (value.GetType().ToString().ToLower()  == "System.String".ToLower()    )
        ///	         m_Fixedretentionmin = value ;
        ///	   else
        ///	      throw new Exception("Invalid Value Assigned to the Variable m_Fixedretentionmin");
        ///
        ///       m_Fixedretentionmin_Dirty = true;
        ///	}
        ///}
        ///
        ///
        ///</code>
        /// <returns>
        /// System.String
        /// </returns>
        /// <example>
        /// 
        /// The following is an example on how to get the value from the property Fixedretentionmin  
        /// 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem();
        ///		System.String Temp_Fixedretentionmin = "Hello World";
        ///		Temp_Fixedretentionmin = obj.Fixedretentionmin;
        ///		Console.Write(Temp_Fixedretentionmin)
        /// 
        /// The following is an example on how ro set the value of the Fixedretentionmin 
        /// 
        ///		System.String Temp_Fixedretentionmin = "Hello World"; 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem(); 
        ///		obj.Fixedretentionmin = Temp_Fixedretentionmin; 
        ///		//Now we call the Get to output the value to the Console 
        ///		Console.Write(obj.Fixedretentionmin) 
        ///		 
        /// </example>
        /// <seealso cref="System.String" />
        public System.String Fixedretentionmin
        {
            get
            {
                return m_Fixedretentionmin;
            }
            set
            {
                if (value.GetType().ToString().ToLower() == "System.String".ToLower())
                    m_Fixedretentionmin = value;
                else
                    throw new Exception("Invalid Value Assigned to the Variable m_Fixedretentionmin");

                m_Fixedretentionmin_Dirty = true;
            }
        }

        ///<summary>
        ///Gets or Sets the filed  Fixedretentionmin_Dirty value
        ///
        ///</summary>
        ///<code>
        ///public System.Boolean IsFixedretentionminDirty
        ///{
        ///get
        ///	{
        ///       return m_Fixedretentionmin_Dirty ;
        ///	}
        ///set
        ///	{
        ///       m_Fixedretentionmin_Dirty = value;
        ///	}
        ///}
        ///
        ///
        ///</code>
        /// <returns>
        /// System.Boolean
        /// </returns>
        /// <example>
        /// The following is an example on how to get the value from the property FixedretentionminDirty  
        /// 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem();
        ///		System.String Temp_Fixedretentionmin = false;
        ///		Temp_Fixedretentionmin = obj.Fixedretentionmin;
        ///		Console.Write(Temp_Fixedretentionmin.ToString())
        /// 
        /// The following is an example on how ro set the value of the FixedretentionminDirty 
        /// 
        ///		System.String Temp_FixedretentionminDirty = ; 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem(); 
        ///		obj.FixedretentionminDirty = Temp_Fixedretentionmin; 
        ///		//Now we call the Get to output the value to the Console 
        ///		Console.Write(obj.FixedretentionminDirty.ToString()) 
        ///		 
        /// </example>
        /// <seealso cref="System.String" />
        public System.Boolean IsFixedretentionminDirty
        {
            get
            {
                return m_Fixedretentionmin_Dirty;
            }
            set
            {
                m_Fixedretentionmin_Dirty = value;
            }
        }

        ///<summary>
        ///Gets or Sets the filed  Fixedretentionmin_IsNull value
        ///
        ///</summary>
        ///<code>
        ///public System.Boolean Fixedretentionmin_IsNull
        ///{
        ///get
        ///	{
        ///       return m_Fixedretentionmin_IsNull ;
        ///	}
        ///set
        ///	{
        ///       m_Fixedretentionmin_IsNull = value;
        ///	}
        ///}
        ///
        ///
        ///</code>
        /// <returns>
        /// System.Boolean
        ///</returns>
        /// <example>
        /// 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem();
        ///		System.String Temp_FixedretentionminIsNull = false;
        ///		Temp_FixedretentionminIsNull = obj.Fixedretentionmin;
        ///		Console.Write(Temp_FixedretentionminIsNull.ToString())
        /// 
        /// The following is an example on how to set the value of the FixedretentionminIsNull 
        /// 
        ///		System.String Temp_FixedretentionminIsNull = ; 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem(); 
        ///		obj.FixedretentionminIsNull = Temp_Fixedretentionmin; 
        ///		//Now we call the Get to output the value to the Console 
        ///		Console.Write(obj.FixedretentionminIsNull.ToString()); 
        ///		 
        /// </example>
        /// <seealso cref="System.String" />
        public System.Boolean Fixedretentionmin_IsNull
        {
            get
            {
                return m_Fixedretentionmin_IsNull;
            }
            set
            {
                m_Fixedretentionmin_IsNull = value;
            }
        }

        ///<summary>
        ///Gets or Sets the filed  Fixedretentionmax value
        ///
        ///</summary>
        ///<code>
        ///public System.String Fixedretentionmax
        ///{
        ///get
        ///	{
        ///		return m_Fixedretentionmax;
        ///	}
        ///set
        ///	{
        ///	   if (value.GetType().ToString().ToLower()  == "System.String".ToLower()    )
        ///	         m_Fixedretentionmax = value ;
        ///	   else
        ///	      throw new Exception("Invalid Value Assigned to the Variable m_Fixedretentionmax");
        ///
        ///       m_Fixedretentionmax_Dirty = true;
        ///	}
        ///}
        ///
        ///
        ///</code>
        /// <returns>
        /// System.String
        /// </returns>
        /// <example>
        /// 
        /// The following is an example on how to get the value from the property Fixedretentionmax  
        /// 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem();
        ///		System.String Temp_Fixedretentionmax = "Hello World";
        ///		Temp_Fixedretentionmax = obj.Fixedretentionmax;
        ///		Console.Write(Temp_Fixedretentionmax)
        /// 
        /// The following is an example on how ro set the value of the Fixedretentionmax 
        /// 
        ///		System.String Temp_Fixedretentionmax = "Hello World"; 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem(); 
        ///		obj.Fixedretentionmax = Temp_Fixedretentionmax; 
        ///		//Now we call the Get to output the value to the Console 
        ///		Console.Write(obj.Fixedretentionmax) 
        ///		 
        /// </example>
        /// <seealso cref="System.String" />
        public System.String Fixedretentionmax
        {
            get
            {
                return m_Fixedretentionmax;
            }
            set
            {
                if (value.GetType().ToString().ToLower() == "System.String".ToLower())
                    m_Fixedretentionmax = value;
                else
                    throw new Exception("Invalid Value Assigned to the Variable m_Fixedretentionmax");

                m_Fixedretentionmax_Dirty = true;
            }
        }

        ///<summary>
        ///Gets or Sets the filed  Fixedretentionmax_Dirty value
        ///
        ///</summary>
        ///<code>
        ///public System.Boolean IsFixedretentionmaxDirty
        ///{
        ///get
        ///	{
        ///       return m_Fixedretentionmax_Dirty ;
        ///	}
        ///set
        ///	{
        ///       m_Fixedretentionmax_Dirty = value;
        ///	}
        ///}
        ///
        ///
        ///</code>
        /// <returns>
        /// System.Boolean
        /// </returns>
        /// <example>
        /// The following is an example on how to get the value from the property FixedretentionmaxDirty  
        /// 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem();
        ///		System.String Temp_Fixedretentionmax = false;
        ///		Temp_Fixedretentionmax = obj.Fixedretentionmax;
        ///		Console.Write(Temp_Fixedretentionmax.ToString())
        /// 
        /// The following is an example on how ro set the value of the FixedretentionmaxDirty 
        /// 
        ///		System.String Temp_FixedretentionmaxDirty = ; 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem(); 
        ///		obj.FixedretentionmaxDirty = Temp_Fixedretentionmax; 
        ///		//Now we call the Get to output the value to the Console 
        ///		Console.Write(obj.FixedretentionmaxDirty.ToString()) 
        ///		 
        /// </example>
        /// <seealso cref="System.String" />
        public System.Boolean IsFixedretentionmaxDirty
        {
            get
            {
                return m_Fixedretentionmax_Dirty;
            }
            set
            {
                m_Fixedretentionmax_Dirty = value;
            }
        }

        ///<summary>
        ///Gets or Sets the filed  Fixedretentionmax_IsNull value
        ///
        ///</summary>
        ///<code>
        ///public System.Boolean Fixedretentionmax_IsNull
        ///{
        ///get
        ///	{
        ///       return m_Fixedretentionmax_IsNull ;
        ///	}
        ///set
        ///	{
        ///       m_Fixedretentionmax_IsNull = value;
        ///	}
        ///}
        ///
        ///
        ///</code>
        /// <returns>
        /// System.Boolean
        ///</returns>
        /// <example>
        /// 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem();
        ///		System.String Temp_FixedretentionmaxIsNull = false;
        ///		Temp_FixedretentionmaxIsNull = obj.Fixedretentionmax;
        ///		Console.Write(Temp_FixedretentionmaxIsNull.ToString())
        /// 
        /// The following is an example on how to set the value of the FixedretentionmaxIsNull 
        /// 
        ///		System.String Temp_FixedretentionmaxIsNull = ; 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem(); 
        ///		obj.FixedretentionmaxIsNull = Temp_Fixedretentionmax; 
        ///		//Now we call the Get to output the value to the Console 
        ///		Console.Write(obj.FixedretentionmaxIsNull.ToString()); 
        ///		 
        /// </example>
        /// <seealso cref="System.String" />
        public System.Boolean Fixedretentionmax_IsNull
        {
            get
            {
                return m_Fixedretentionmax_IsNull;
            }
            set
            {
                m_Fixedretentionmax_IsNull = value;
            }
        }

        ///<summary>
        ///Gets or Sets the filed  Retentiondefault value
        ///
        ///</summary>
        ///<code>
        ///public System.String Retentiondefault
        ///{
        ///get
        ///	{
        ///		return m_Retentiondefault;
        ///	}
        ///set
        ///	{
        ///	   if (value.GetType().ToString().ToLower()  == "System.String".ToLower()    )
        ///	         m_Retentiondefault = value ;
        ///	   else
        ///	      throw new Exception("Invalid Value Assigned to the Variable m_Retentiondefault");
        ///
        ///       m_Retentiondefault_Dirty = true;
        ///	}
        ///}
        ///
        ///
        ///</code>
        /// <returns>
        /// System.String
        /// </returns>
        /// <example>
        /// 
        /// The following is an example on how to get the value from the property Retentiondefault  
        /// 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem();
        ///		System.String Temp_Retentiondefault = "Hello World";
        ///		Temp_Retentiondefault = obj.Retentiondefault;
        ///		Console.Write(Temp_Retentiondefault)
        /// 
        /// The following is an example on how ro set the value of the Retentiondefault 
        /// 
        ///		System.String Temp_Retentiondefault = "Hello World"; 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem(); 
        ///		obj.Retentiondefault = Temp_Retentiondefault; 
        ///		//Now we call the Get to output the value to the Console 
        ///		Console.Write(obj.Retentiondefault) 
        ///		 
        /// </example>
        /// <seealso cref="System.String" />
        public System.String Retentiondefault
        {
            get
            {
                return m_Retentiondefault;
            }
            set
            {
                if (value.GetType().ToString().ToLower() == "System.String".ToLower())
                    m_Retentiondefault = value;
                else
                    throw new Exception("Invalid Value Assigned to the Variable m_Retentiondefault");

                m_Retentiondefault_Dirty = true;
            }
        }

        ///<summary>
        ///Gets or Sets the filed  Retentiondefault_Dirty value
        ///
        ///</summary>
        ///<code>
        ///public System.Boolean IsRetentiondefaultDirty
        ///{
        ///get
        ///	{
        ///       return m_Retentiondefault_Dirty ;
        ///	}
        ///set
        ///	{
        ///       m_Retentiondefault_Dirty = value;
        ///	}
        ///}
        ///
        ///
        ///</code>
        /// <returns>
        /// System.Boolean
        /// </returns>
        /// <example>
        /// The following is an example on how to get the value from the property RetentiondefaultDirty  
        /// 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem();
        ///		System.String Temp_Retentiondefault = false;
        ///		Temp_Retentiondefault = obj.Retentiondefault;
        ///		Console.Write(Temp_Retentiondefault.ToString())
        /// 
        /// The following is an example on how ro set the value of the RetentiondefaultDirty 
        /// 
        ///		System.String Temp_RetentiondefaultDirty = ; 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem(); 
        ///		obj.RetentiondefaultDirty = Temp_Retentiondefault; 
        ///		//Now we call the Get to output the value to the Console 
        ///		Console.Write(obj.RetentiondefaultDirty.ToString()) 
        ///		 
        /// </example>
        /// <seealso cref="System.String" />
        public System.Boolean IsRetentiondefaultDirty
        {
            get
            {
                return m_Retentiondefault_Dirty;
            }
            set
            {
                m_Retentiondefault_Dirty = value;
            }
        }

        ///<summary>
        ///Gets or Sets the filed  Retentiondefault_IsNull value
        ///
        ///</summary>
        ///<code>
        ///public System.Boolean Retentiondefault_IsNull
        ///{
        ///get
        ///	{
        ///       return m_Retentiondefault_IsNull ;
        ///	}
        ///set
        ///	{
        ///       m_Retentiondefault_IsNull = value;
        ///	}
        ///}
        ///
        ///
        ///</code>
        /// <returns>
        /// System.Boolean
        ///</returns>
        /// <example>
        /// 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem();
        ///		System.String Temp_RetentiondefaultIsNull = false;
        ///		Temp_RetentiondefaultIsNull = obj.Retentiondefault;
        ///		Console.Write(Temp_RetentiondefaultIsNull.ToString())
        /// 
        /// The following is an example on how to set the value of the RetentiondefaultIsNull 
        /// 
        ///		System.String Temp_RetentiondefaultIsNull = ; 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem(); 
        ///		obj.RetentiondefaultIsNull = Temp_Retentiondefault; 
        ///		//Now we call the Get to output the value to the Console 
        ///		Console.Write(obj.RetentiondefaultIsNull.ToString()); 
        ///		 
        /// </example>
        /// <seealso cref="System.String" />
        public System.Boolean Retentiondefault_IsNull
        {
            get
            {
                return m_Retentiondefault_IsNull;
            }
            set
            {
                m_Retentiondefault_IsNull = value;
            }
        }

        #endregion
        #region Clone Method for the IClonable Interface
        ///<summary>
        ///Supports cloning, which creates a new instance of a class with the same value as an existing instance of the classAdrdCenteraRetentionInfoItem
        ///</summary>
        ///<remarks>
        ///The code snippet below is the full code implementation of the Clone Method
        ///</remarks>
        ///<code>
        ///		public object Clone()
        ///		{
        ///		AdrdCenteraRetentionInfoItem AdrdCenteraRetentionInfoItemObj   = new AdrdCenteraRetentionInfoItem();
        ///		System.String strVariableretentionmax="";
        ///		strVariableretentionmax = this.Variableretentionmax;
        ///		AdrdCenteraRetentionInfoItemObj.m_Variableretentionmax = strVariableretentionmax;
        ///		
        ///		System.String strFixedretentionmin="";
        ///		strFixedretentionmin = this.Fixedretentionmin;
        ///		AdrdCenteraRetentionInfoItemObj.m_Fixedretentionmin = strFixedretentionmin;
        ///		
        ///		System.String strFixedretentionmax="";
        ///		strFixedretentionmax = this.Fixedretentionmax;
        ///		AdrdCenteraRetentionInfoItemObj.m_Fixedretentionmax = strFixedretentionmax;
        ///		
        ///		System.String strRetentiondefault="";
        ///		strRetentiondefault = this.Retentiondefault;
        ///		AdrdCenteraRetentionInfoItemObj.m_Retentiondefault = strRetentiondefault;
        ///		
        ///		return AdrdCenteraRetentionInfoItemObj;
        ///		}
        ///		
        ///</code>
        ///
        ///<example>
        ///
        ///   AdrdCenteraRetentionInfoItem Obj		= new AdrdCenteraRetentionInfoItem();
        ///   AdrdCenteraRetentionInfoItem copyObj	= new AdrdCenteraRetentionInfoItem();
        ///   //make copyObj copy of Obj. The cast is used because the Clone method return type is object
        ///   copyObj = (AdrdCenteraRetentionInfoItem)Obj.Clone();
        ///   
        ///</example>
        ///
        /// <seealso cref="ICloneable Interface" />
        /// <seealso cref="System.Object" />

        public object Clone()
        {
            AdrdCenteraRetentionInfoItem AdrdCenteraRetentionInfoItemObj = new AdrdCenteraRetentionInfoItem();
            System.String strVariableretentionmax = "";
            strVariableretentionmax = this.Variableretentionmax;
            AdrdCenteraRetentionInfoItemObj.m_Variableretentionmax = strVariableretentionmax;

            System.String strFixedretentionmin = "";
            strFixedretentionmin = this.Fixedretentionmin;
            AdrdCenteraRetentionInfoItemObj.m_Fixedretentionmin = strFixedretentionmin;

            System.String strFixedretentionmax = "";
            strFixedretentionmax = this.Fixedretentionmax;
            AdrdCenteraRetentionInfoItemObj.m_Fixedretentionmax = strFixedretentionmax;

            System.String strRetentiondefault = "";
            strRetentiondefault = this.Retentiondefault;
            AdrdCenteraRetentionInfoItemObj.m_Retentiondefault = strRetentiondefault;

            return AdrdCenteraRetentionInfoItemObj;
        }
        #endregion
        #region OverRide the ToString Method of the inhereted class Object
        public override string ToString()
        {
            return "AdrdwebCenteraClusterInformation.AdrdCenteraRetentionInfoItem";
        }
        #endregion
        #region OverRide the GetHashCode Method of the inhereted class Object
        public override int GetHashCode()
        {
            return 1024198922;
        }
        #endregion
        #region OverRide the Equals Method of the inhereted class Object
        ///<summary>
        ///Determines whether two Object instances are equal.
        ///</summary>
        ///<remarks>
        ///The code snippet below is the full code implementation of the Equal Method
        ///</remarks>
        ///<code>
        ///		public override bool Equals(Object AdrdCenteraRetentionInfoItemObj)
        ///		{
        ///			bool bFlag = true;
        ///		int intVariableLength = 0 ;
        ///		AdrdCenteraRetentionInfoItem _objAdrdCenteraRetentionInfoItem = new AdrdCenteraRetentionInfoItem();
        ///		_objAdrdCenteraRetentionInfoItem = (AdrdCenteraRetentionInfoItem)AdrdCenteraRetentionInfoItemObj;
        ///		try
        ///		{
        ///				System.String strVariableRetentionMaxOne="";
        ///				System.String strVariableRetentionMaxTwo="";
        ///				strVariableRetentionMaxOne= this.Variableretentionmax;
        ///				strVariableRetentionMaxTwo= _objAdrdCenteraRetentionInfoItem.Variableretentionmax;
        ///				if (strVariableRetentionMaxOne  != strVariableRetentionMaxTwo)
        ///				{
        ///				return false;
        ///				}
        ///			}
        ///		catch
        ///		{
        ///				return false;
        ///		}
        ///		try
        ///		{
        ///				System.String strFixedRetentionMinOne="";
        ///				System.String strFixedRetentionMinTwo="";
        ///				strFixedRetentionMinOne= this.Fixedretentionmin;
        ///				strFixedRetentionMinTwo= _objAdrdCenteraRetentionInfoItem.Fixedretentionmin;
        ///				if (strFixedRetentionMinOne  != strFixedRetentionMinTwo)
        ///				{
        ///				return false;
        ///				}
        ///			}
        ///		catch
        ///		{
        ///				return false;
        ///		}
        ///		try
        ///		{
        ///				System.String strFixedRetentionMaxOne="";
        ///				System.String strFixedRetentionMaxTwo="";
        ///				strFixedRetentionMaxOne= this.Fixedretentionmax;
        ///				strFixedRetentionMaxTwo= _objAdrdCenteraRetentionInfoItem.Fixedretentionmax;
        ///				if (strFixedRetentionMaxOne  != strFixedRetentionMaxTwo)
        ///				{
        ///				return false;
        ///				}
        ///			}
        ///		catch
        ///		{
        ///				return false;
        ///		}
        ///		try
        ///		{
        ///				System.String strRetentionDefaultOne="";
        ///				System.String strRetentionDefaultTwo="";
        ///				strRetentionDefaultOne= this.Retentiondefault;
        ///				strRetentionDefaultTwo= _objAdrdCenteraRetentionInfoItem.Retentiondefault;
        ///				if (strRetentionDefaultOne  != strRetentionDefaultTwo)
        ///				{
        ///				return false;
        ///				}
        ///			}
        ///		catch
        ///		{
        ///				return false;
        ///		}
        ///		
        ///		
        ///		return true;
        ///		}
        ///		
        ///</code>
        ///
        ///<example>
        ///
        ///   AdrdCenteraRetentionInfoItem Obj		= new AdrdCenteraRetentionInfoItem();
        ///   AdrdCenteraRetentionInfoItem copyObj	= new AdrdCenteraRetentionInfoItem();
        ///   //make copyObj copy of Obj. The cast is used because the Clone method return type is object
        ///   if (copyObj.Equals(Obj))
        ///		{
        ///			Console.Write("Two Objects are Equals");
        ///		}
        ///   
        ///</example>
        ///
        /// <seealso cref="Object.Equals" />
        /// <seealso cref="System.Object" />

        public override bool Equals(Object AdrdCenteraRetentionInfoItemObj)
        {


            AdrdCenteraRetentionInfoItem _objAdrdCenteraRetentionInfoItem = new AdrdCenteraRetentionInfoItem();
            _objAdrdCenteraRetentionInfoItem = (AdrdCenteraRetentionInfoItem)AdrdCenteraRetentionInfoItemObj;
            try
            {
                System.String strVariableRetentionMaxOne = "";
                System.String strVariableRetentionMaxTwo = "";
                strVariableRetentionMaxOne = this.Variableretentionmax;
                strVariableRetentionMaxTwo = _objAdrdCenteraRetentionInfoItem.Variableretentionmax;
                if (strVariableRetentionMaxOne != strVariableRetentionMaxTwo)
                {
                    return false;
                }
            }
            catch
            {
                return false;
            }
            try
            {
                System.String strFixedRetentionMinOne = "";
                System.String strFixedRetentionMinTwo = "";
                strFixedRetentionMinOne = this.Fixedretentionmin;
                strFixedRetentionMinTwo = _objAdrdCenteraRetentionInfoItem.Fixedretentionmin;
                if (strFixedRetentionMinOne != strFixedRetentionMinTwo)
                {
                    return false;
                }
            }
            catch
            {
                return false;
            }
            try
            {
                System.String strFixedRetentionMaxOne = "";
                System.String strFixedRetentionMaxTwo = "";
                strFixedRetentionMaxOne = this.Fixedretentionmax;
                strFixedRetentionMaxTwo = _objAdrdCenteraRetentionInfoItem.Fixedretentionmax;
                if (strFixedRetentionMaxOne != strFixedRetentionMaxTwo)
                {
                    return false;
                }
            }
            catch
            {
                return false;
            }
            try
            {
                System.String strRetentionDefaultOne = "";
                System.String strRetentionDefaultTwo = "";
                strRetentionDefaultOne = this.Retentiondefault;
                strRetentionDefaultTwo = _objAdrdCenteraRetentionInfoItem.Retentiondefault;
                if (strRetentionDefaultOne != strRetentionDefaultTwo)
                {
                    return false;
                }
            }
            catch
            {
                return false;
            }


            return true;
        }
        #endregion
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

AdelArch
Systems Engineer
United States United States
Adel Eddin is a software architect evangelist with extensive experience in planning, developing, and implementing large information technology solutions in the financial and public sectors.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150506.1 | Last Updated 19 Oct 2007
Article Copyright 2007 by AdelArch
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid