public class DefaultLinkTemplate extends org.onosproject.yang.model.InnerModelObject implements LinkTemplate, org.onosproject.yang.model.MultiInstanceObject<LinkTemplateKeys>
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeLinkTemplate.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected TeTemplateName |
name |
protected int |
priority |
protected ReferenceChangePolicyEnum |
referenceChangePolicy |
protected TeLinkAttributes |
teLinkAttributes |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultLinkTemplate()
Creates an instance of defaultLinkTemplate.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(LinkTemplate.LeafIdentifier leaf)
Checks if the leaf value is set.
|
TeTemplateName |
name()
Returns the attribute name.
|
void |
name(TeTemplateName name)
Sets the attribute name.
|
int |
priority()
Returns the attribute priority.
|
void |
priority(int priority)
Sets the attribute priority.
|
ReferenceChangePolicyEnum |
referenceChangePolicy()
Returns the attribute referenceChangePolicy.
|
void |
referenceChangePolicy(ReferenceChangePolicyEnum referenceChangePolicy)
Sets the attribute referenceChangePolicy.
|
TeLinkAttributes |
teLinkAttributes()
Returns the attribute teLinkAttributes.
|
void |
teLinkAttributes(TeLinkAttributes teLinkAttributes)
Sets the attribute teLinkAttributes.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
protected TeTemplateName name
protected int priority
protected ReferenceChangePolicyEnum referenceChangePolicy
protected BitSet valueLeafFlags
protected TeLinkAttributes teLinkAttributes
public DefaultLinkTemplate()
public TeTemplateName name()
LinkTemplatename in interface LinkTemplatepublic int priority()
LinkTemplatepriority in interface LinkTemplatepublic ReferenceChangePolicyEnum referenceChangePolicy()
LinkTemplatereferenceChangePolicy in interface LinkTemplatepublic BitSet valueLeafFlags()
LinkTemplatevalueLeafFlags in interface LinkTemplatepublic TeLinkAttributes teLinkAttributes()
LinkTemplateteLinkAttributes in interface LinkTemplatepublic void name(TeTemplateName name)
LinkTemplatename in interface LinkTemplatename - value of namepublic void priority(int priority)
LinkTemplatepriority in interface LinkTemplatepriority - value of prioritypublic void referenceChangePolicy(ReferenceChangePolicyEnum referenceChangePolicy)
LinkTemplatereferenceChangePolicy in interface LinkTemplatereferenceChangePolicy - value of referenceChangePolicypublic void teLinkAttributes(TeLinkAttributes teLinkAttributes)
LinkTemplateteLinkAttributes in interface LinkTemplateteLinkAttributes - value of teLinkAttributespublic boolean isLeafValueSet(LinkTemplate.LeafIdentifier leaf)
LinkTemplateisLeafValueSet in interface LinkTemplateleaf - leaf whose value status needs to checkedCopyright © 2017. All rights reserved.