Package org.opendaylight.neutron.spi
Class NeutronObject<T extends NeutronObject<T>>
- java.lang.Object
 - 
- org.opendaylight.neutron.spi.NeutronID
 - 
- org.opendaylight.neutron.spi.NeutronObject<T>
 
 
 
- 
- All Implemented Interfaces:
 Serializable,INeutronObject<T>
- Direct Known Subclasses:
 NeutronBaseAttributes,NeutronFloatingIp,NeutronLoadBalancerHealthMonitor,NeutronLoadBalancerPoolMember,NeutronMeteringLabelRule,NeutronQosBandwidthLimitRule,NeutronQosDscpMarkingRule,NeutronQosMinimumBandwidthRule,NeutronRouterInterface,NeutronSecurityRule
public abstract class NeutronObject<T extends NeutronObject<T>> extends NeutronID implements INeutronObject<T>
- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description NeutronObject() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanextractField(String field, T ans)TextractFields(List<String> fields)This method copies selected fields from the object and returns them as a new object, suitable for marshaling.StringgetProjectID()LonggetRevisionNumber()StringgetTenantID()voidinitDefaults()voidsetProjectID(String projectID)voidsetRevisionNumber(Long revisionNumber)voidsetTenantID(String tenantID)voidsetTenantID(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid tenantID)StringtoString()- 
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.INeutronObject
getID, setID 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getTenantID
public String getTenantID()
- Specified by:
 getTenantIDin interfaceINeutronObject<T extends NeutronObject<T>>
 
- 
setTenantID
public void setTenantID(String tenantID)
- Specified by:
 setTenantIDin interfaceINeutronObject<T extends NeutronObject<T>>
 
- 
setTenantID
public void setTenantID(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid tenantID)
- Specified by:
 setTenantIDin interfaceINeutronObject<T extends NeutronObject<T>>
 
- 
setProjectID
public void setProjectID(String projectID)
- Specified by:
 setProjectIDin interfaceINeutronObject<T extends NeutronObject<T>>
 
- 
getProjectID
public String getProjectID()
- Specified by:
 getProjectIDin interfaceINeutronObject<T extends NeutronObject<T>>
 
- 
getRevisionNumber
public Long getRevisionNumber()
- Specified by:
 getRevisionNumberin interfaceINeutronObject<T extends NeutronObject<T>>
 
- 
setRevisionNumber
public void setRevisionNumber(Long revisionNumber)
- Specified by:
 setRevisionNumberin interfaceINeutronObject<T extends NeutronObject<T>>
 
- 
initDefaults
public void initDefaults()
- Specified by:
 initDefaultsin interfaceINeutronObject<T extends NeutronObject<T>>
 
- 
extractFields
public T extractFields(List<String> fields)
This method copies selected fields from the object and returns them as a new object, suitable for marshaling.- Specified by:
 extractFieldsin interfaceINeutronObject<T extends NeutronObject<T>>- Parameters:
 fields- List of attributes to be extracted- Returns:
 - an OpenStack Neutron object with only the selected fields populated
 
 
 - 
 
 -