SystemInfoData.java revision b87033953be26b0dc7dead8febd499b666a54126
/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2008 Sun Microsystems Inc. All Rights Reserved
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at opensso/legal/CDDLv1.0.txt.
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* $Id: SystemInfoData.java,v 1.1 2008/11/22 02:24:33 ak138937 Exp $
*
*/
private String domainName;
private String osVersionNo;
public SystemInfoData() {
}
/**
* Getter for property hostName.
*
* @return Value of property hostName.
*/
public String getHostName() {
return this.hostName;
}
/**
* Setter for property hostName.
*
* @param hostName New value of property hostName.
*/
}
/**
* Getter for property osName.
*
* @return Value of property osName.
*/
return this.osName;
}
/**
* Setter for property osName.
*
* @param osName New value of property osName.
*/
}
/**
* Getter for property osArch.
*
* @return Value of property osArch.
*/
return this.osArch;
}
/**
* Setter for property osArch.
*
* @param osArch New value of property osArch.
*/
}
/**
* Getter for property domainName.
*
* @return Value of property domainName.
*/
public String getDomainName() {
return this.domainName;
}
/**
* Setter for property domainName.
*
* @param domainName New value of property domainName.
*/
this.domainName = domainName;
}
/**
* Getter for property ipAddress.
*
* @return Value of property ipAddress.
*/
public String getIpAddress() {
return this.ipAddress;
}
/**
* Setter for property ipAddress.
*
* @param ipAddress New value of property ipAddress.
*/
}
/**
* Getter for property ram.
*
* @return Value of property ram.
*/
return this.ram;
}
/**
* Setter for property ram.
*
* @param ram New value of property ram.
*/
}
/**
* Getter for property swap.
*
* @return Value of property swap.
*/
return this.swap;
}
/**
* Setter for property swap.
*
* @param swap New value of property swap.
*/
}
/**
* Getter for property zones.
*
* @return Value of property zones.
*/
return this.zones;
}
/**
* Setter for property zones.
*
* @param zones values of host zones.
*/
}
/**
* Getter for property patches.
*
* @return Value of property patches.
*/
return this.patches;
}
/**
* Setter for property zones.
*
* @param patches values of patches on host.
*/
}
/**
* Getter for property for OS version.
*
* @return Value of OS version.
*/
public String getOsVersionNo() {
return osVersionNo;
}
/**
* Setter for property for OS version.
*
* @param osVersionNo version of the OS.
*/
this.osVersionNo = osVersionNo;
}
/**
* Helper method to convert as string representation
*
* @return string representation of this object
*/
}
}
}
/**
* Helper method to convert as string representation
*
* @param toolOutWriter the output writer for the tool
*/
new String[] {domainName});
new String[] {osVersionNo});
}
}
}
}