Package org.opendaylight.neutron.spi
Class NeutronTrunk
- java.lang.Object
-
- org.opendaylight.neutron.spi.NeutronID
-
- org.opendaylight.neutron.spi.NeutronObject<T>
-
- org.opendaylight.neutron.spi.NeutronBaseAttributes<T>
-
- org.opendaylight.neutron.spi.NeutronAdminAttributes<NeutronTrunk>
-
- org.opendaylight.neutron.spi.NeutronTrunk
-
- All Implemented Interfaces:
Serializable
,INeutronAdminAttributes<NeutronTrunk>
,INeutronBaseAttributes<NeutronTrunk>
,INeutronObject<NeutronTrunk>
public final class NeutronTrunk extends NeutronAdminAttributes<NeutronTrunk>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NeutronTrunk()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
extractField(String field, NeutronTrunk ans)
String
getPortId()
List<NeutronTrunkSubPort>
getSubPorts()
void
initDefaults()
void
setPortId(String portId)
void
setSubPorts(List<NeutronTrunkSubPort> subPorts)
String
toString()
-
Methods inherited from class org.opendaylight.neutron.spi.NeutronAdminAttributes
getAdminStateUp, getStatus, isAdminStateUp, setAdminStateUp, setStatus
-
Methods inherited from class org.opendaylight.neutron.spi.NeutronBaseAttributes
getName, setName
-
Methods inherited from class org.opendaylight.neutron.spi.NeutronObject
extractFields, getProjectID, getRevisionNumber, getTenantID, setProjectID, setRevisionNumber, setTenantID, setTenantID
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.opendaylight.neutron.spi.INeutronBaseAttributes
getName, setName
-
Methods inherited from interface org.opendaylight.neutron.spi.INeutronObject
extractFields, getID, getProjectID, getRevisionNumber, getTenantID, setID, setProjectID, setRevisionNumber, setTenantID, setTenantID
-
-
-
-
Method Detail
-
initDefaults
public void initDefaults()
- Specified by:
initDefaults
in interfaceINeutronObject<NeutronTrunk>
- Overrides:
initDefaults
in classNeutronAdminAttributes<NeutronTrunk>
-
getPortId
public String getPortId()
-
setPortId
public void setPortId(String portId)
-
getSubPorts
public List<NeutronTrunkSubPort> getSubPorts()
-
setSubPorts
public void setSubPorts(List<NeutronTrunkSubPort> subPorts)
-
extractField
protected boolean extractField(String field, NeutronTrunk ans)
- Overrides:
extractField
in classNeutronAdminAttributes<NeutronTrunk>
-
toString
public String toString()
- Overrides:
toString
in classNeutronObject<NeutronTrunk>
-
-