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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getHref, getName, getType
protected 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 Network
public String getGateway()
getGateway
in interface Network
public String getNetmask()
getNetmask
in interface Network
public FenceMode getFenceMode()
getFenceMode
in interface Network
public ReferenceType getIps()
public ReferenceType getNetworkExtension()
getNetworkExtension
in interface Network
public int compareTo(ReferenceType o)
compareTo
in interface Comparable<ReferenceType>
compareTo
in class ReferenceTypeImpl
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.