- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description DiagnosticNotationOptions(int value)
Creates a new DiagnosticNotationOptions with givenvalue
.DiagnosticNotationOptions(QCborValue.DiagnosticNotationOption... args)
Creates a new DiagnosticNotationOptions where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description QCborValue.DiagnosticNotationOptions
clone()
Clones the flagsQCborValue.DiagnosticNotationOptions
combined(QCborValue.DiagnosticNotationOption e)
Combines this flags with enum entry.int
compareTo(QCborValue.DiagnosticNotationOptions other)
QCborValue.DiagnosticNotationOption[]
flags()
Returns an array of flag objects represented by this DiagnosticNotationOptions.QCborValue.DiagnosticNotationOptions
setFlag(QCborValue.DiagnosticNotationOption e)
Sets the flage
QCborValue.DiagnosticNotationOptions
setFlag(QCborValue.DiagnosticNotationOption e, boolean on)
Sets or clears the flagflag
-
Constructor Details
-
DiagnosticNotationOptions
Creates a new DiagnosticNotationOptions where the flags inargs
are 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:
combined
in classQFlags<QCborValue.DiagnosticNotationOption>
- Parameters:
e
- enum entry- Returns:
- new DiagnosticNotationOptions
-
setFlag
Sets the flage
- Overrides:
setFlag
in 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:
setFlag
in 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:
flags
in classQFlags<QCborValue.DiagnosticNotationOption>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QCborValue.DiagnosticNotationOption>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QCborValue.DiagnosticNotationOptions>
-