// NomadicSystemMO.mo
package schiller.jmapi;
import sunw.admin.arm.common.*;
import sunw.admin.arm.manager.*;
import java.io.*;
import java.rmi.*;
public class NomadicSystemMOImpl extends ManagedObjectImpl
implements NomadicSystemMO {
// Persistent properties
/**
* Ethernet Address
*/
String ethernetAddress;
/**
* Domain Name
*/
String domainName;
// constructor
public NomadicSystemMOImpl() throws RemoteException {
}
public String getEthernetAddress(Session session)
throws AuthorizationException, RemoteException {
return (String)getPropertyByName(session, "ethernetAddress");
}
public void setEthernetAddress(Session session, String ethernetAddress)
throws NotInUpdateException, AuthorizationException, RemoteException {
setPropertyByName(session, "ethernetAddress", ethernetAddress);
}
public String getDomainName(Session session)
throws AuthorizationException, RemoteException {
return (String)getPropertyByName(session, "domainName");
}
public void setDomainName(Session session, String domainName)
throws NotInUpdateException, AuthorizationException, RemoteException {
setPropertyByName(session, "domainName", domainName);
}
}