public class DefaultRule extends org.onosproject.yang.model.InnerModelObject implements Rule, org.onosproject.yang.model.MultiInstanceObject<RuleKeys>
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeRule.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected int |
id |
protected MatchType |
matchType |
protected String |
targetClassId |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultRule()
Creates an instance of defaultRule.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
int |
id()
Returns the attribute id.
|
void |
id(int id)
Sets the attribute id.
|
boolean |
isLeafValueSet(Rule.LeafIdentifier leaf)
Checks if the leaf value is set.
|
MatchType |
matchType()
Returns the attribute matchType.
|
void |
matchType(MatchType matchType)
Sets the attribute matchType.
|
String |
targetClassId()
Returns the attribute targetClassId.
|
void |
targetClassId(String targetClassId)
Sets the attribute targetClassId.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
protected int id
protected String targetClassId
protected BitSet valueLeafFlags
protected MatchType matchType
public int id()
Rulepublic String targetClassId()
RuletargetClassId in interface Rulepublic BitSet valueLeafFlags()
RulevalueLeafFlags in interface Rulepublic MatchType matchType()
Rulepublic void id(int id)
Rulepublic void targetClassId(String targetClassId)
RuletargetClassId in interface RuletargetClassId - value of targetClassIdpublic void matchType(MatchType matchType)
Rulepublic boolean isLeafValueSet(Rule.LeafIdentifier leaf)
RuleisLeafValueSet in interface Ruleleaf - leaf whose value status needs to checkedCopyright © 2017. All rights reserved.