public class DefaultPassword extends org.onosproject.yang.model.InnerModelObject implements Password
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypePassword.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected boolean |
passwordEnabled |
protected String |
passwordValue |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultPassword()
Creates an instance of defaultPassword.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(Password.LeafIdentifier leaf)
Checks if the leaf value is set.
|
boolean |
passwordEnabled()
Returns the attribute passwordEnabled.
|
void |
passwordEnabled(boolean passwordEnabled)
Sets the attribute passwordEnabled.
|
String |
passwordValue()
Returns the attribute passwordValue.
|
void |
passwordValue(String passwordValue)
Sets the attribute passwordValue.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected boolean passwordEnabled
protected String passwordValue
protected BitSet valueLeafFlags
public boolean passwordEnabled()
PasswordpasswordEnabled in interface Passwordpublic String passwordValue()
PasswordpasswordValue in interface Passwordpublic BitSet valueLeafFlags()
PasswordvalueLeafFlags in interface Passwordpublic void passwordEnabled(boolean passwordEnabled)
PasswordpasswordEnabled in interface PasswordpasswordEnabled - value of passwordEnabledpublic void passwordValue(String passwordValue)
PasswordpasswordValue in interface PasswordpasswordValue - value of passwordValuepublic boolean isLeafValueSet(Password.LeafIdentifier leaf)
PasswordisLeafValueSet in interface Passwordleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.