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 booleanextractField(String field, NeutronTrunk ans)StringgetPortId()List<NeutronTrunkSubPort>getSubPorts()voidinitDefaults()voidsetPortId(String portId)voidsetSubPorts(List<NeutronTrunkSubPort> subPorts)StringtoString()-
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:
initDefaultsin interfaceINeutronObject<NeutronTrunk>- Overrides:
initDefaultsin 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:
extractFieldin classNeutronAdminAttributes<NeutronTrunk>
-
toString
public String toString()
- Overrides:
toStringin classNeutronObject<NeutronTrunk>
-
-