- All Implemented Interfaces:
Serializable,Cloneable,Comparable<QCborValue.DiagnosticNotationOptions>
- Enclosing class:
QCborValue
public static final class QCborValue.DiagnosticNotationOptions
extends QFlags<QCborValue.DiagnosticNotationOption>
implements Comparable<QCborValue.DiagnosticNotationOptions>
QFlags type for enum
QCborValue.DiagnosticNotationOption- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDiagnosticNotationOptions(int value) Creates a new DiagnosticNotationOptions with givenvalue.Creates a new DiagnosticNotationOptions where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones the flagsCombines this flags with enum entry.final intfinal QCborValue.DiagnosticNotationOption []flags()Returns an array of flag objects represented by this DiagnosticNotationOptions.Sets the flagesetFlag(QCborValue.DiagnosticNotationOption e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
DiagnosticNotationOptions
Creates a new DiagnosticNotationOptions where the flags inargsare set.- Parameters:
args- enum entries
-
DiagnosticNotationOptions
public DiagnosticNotationOptions(int value) Creates a new DiagnosticNotationOptions with givenvalue.- Parameters:
value-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combinedin classQFlags<QCborValue.DiagnosticNotationOption>- Parameters:
e- enum entry- Returns:
- new DiagnosticNotationOptions
-
setFlag
Sets the flage- Overrides:
setFlagin classQFlags<QCborValue.DiagnosticNotationOption>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
public final QCborValue.DiagnosticNotationOptions setFlag(QCborValue.DiagnosticNotationOption e, boolean on) Sets or clears the flagflag- Overrides:
setFlagin classQFlags<QCborValue.DiagnosticNotationOption>- Parameters:
e- enum entryon- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this DiagnosticNotationOptions.- Overrides:
flagsin classQFlags<QCborValue.DiagnosticNotationOption>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QCborValue.DiagnosticNotationOption>
-
compareTo
- Specified by:
compareToin interfaceComparable<QCborValue.DiagnosticNotationOptions>
-