public class DefaultEncryption extends org.onosproject.yang.model.InnerModelObject implements Encryption
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeEncryption.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected boolean |
enabled |
protected EncryptionProfile |
encryptionProfile |
protected LayerEnum |
layer |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultEncryption()
Creates an instance of defaultEncryption.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
enabled()
Returns the attribute enabled.
|
void |
enabled(boolean enabled)
Sets the attribute enabled.
|
EncryptionProfile |
encryptionProfile()
Returns the attribute encryptionProfile.
|
void |
encryptionProfile(EncryptionProfile encryptionProfile)
Sets the attribute encryptionProfile.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(Encryption.LeafIdentifier leaf)
Checks if the leaf value is set.
|
LayerEnum |
layer()
Returns the attribute layer.
|
void |
layer(LayerEnum layer)
Sets the attribute layer.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
protected boolean enabled
protected LayerEnum layer
protected BitSet valueLeafFlags
protected EncryptionProfile encryptionProfile
public DefaultEncryption()
public boolean enabled()
Encryptionenabled in interface Encryptionpublic LayerEnum layer()
Encryptionlayer in interface Encryptionpublic BitSet valueLeafFlags()
EncryptionvalueLeafFlags in interface Encryptionpublic EncryptionProfile encryptionProfile()
EncryptionencryptionProfile in interface Encryptionpublic void enabled(boolean enabled)
Encryptionenabled in interface Encryptionenabled - value of enabledpublic void layer(LayerEnum layer)
Encryptionlayer in interface Encryptionlayer - value of layerpublic void encryptionProfile(EncryptionProfile encryptionProfile)
EncryptionencryptionProfile in interface EncryptionencryptionProfile - value of encryptionProfilepublic boolean isLeafValueSet(Encryption.LeafIdentifier leaf)
EncryptionisLeafValueSet in interface Encryptionleaf - leaf whose value status needs to checkedCopyright © 2017. All rights reserved.