public class NetworkImpl extends ReferenceTypeImpl implements Network
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected FenceMode |
fenceMode |
protected String |
gateway |
protected ReferenceType |
ips |
protected String |
netmask |
protected ReferenceType |
networkExtension |
| Constructor and Description |
|---|
NetworkImpl(String name,
String type,
URI id,
String description,
String gateway,
String netmask,
FenceMode fenceMode,
ReferenceType networkExtension,
ReferenceType ips) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ReferenceType o) |
String |
getDescription() |
FenceMode |
getFenceMode()
return the network fence mode.
|
String |
getGateway() |
ReferenceType |
getIps() |
String |
getNetmask()
*
|
ReferenceType |
getNetworkExtension() |
equals, getHref, getName, getType, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetHref, getName, getTypeprotected final String description
protected final String gateway
protected final String netmask
protected final FenceMode fenceMode
protected final ReferenceType networkExtension
protected final ReferenceType ips
public NetworkImpl(String name, String type, URI id, String description, String gateway, String netmask, FenceMode fenceMode, ReferenceType networkExtension, ReferenceType ips)
public String getDescription()
getDescription in interface Networkpublic String getGateway()
getGateway in interface Networkpublic String getNetmask()
getNetmask in interface Networkpublic FenceMode getFenceMode()
getFenceMode in interface Networkpublic ReferenceType getIps()
public ReferenceType getNetworkExtension()
getNetworkExtension in interface Networkpublic int compareTo(ReferenceType o)
compareTo in interface Comparable<ReferenceType>compareTo in class ReferenceTypeImplCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.