Interface StartTestInput
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<StartTestInput>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject,org.opendaylight.yangtools.yang.binding.RpcInput
@Generated("mdsal-binding-generator") public interface StartTestInput extends org.opendaylight.yangtools.yang.binding.RpcInput, org.opendaylight.yangtools.yang.binding.Augmentable<StartTestInput>
This class represents the following YANG schema fragment defined in module dsbenchmark
input input { leaf operation { type enumeration { enum PUT { value 1; } enum MERGE { value 2; } enum DELETE { value 3; } enum READ { value 4; } } } leaf data-format { type enumeration { enum BINDING-AWARE { value 1; } enum BINDING-INDEPENDENT { value 2; } } } leaf transaction-type { type enumeration { enum SIMPLE-TX { value 1; } enum TX-CHAINING { value 2; } } } leaf data-store { type enumeration { enum CONFIG { value 1; } enum OPERATIONAL { value 2; } enum BOTH { value 3; } } } leaf outerElements { type uint32; default 100000; } leaf innerElements { type uint32; default 1; } leaf putsPerTx { type uint32; default 1; } leaf listeners { type uint32; default 0; } }The schema path to identify an instance is dsbenchmark/start-test/input
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStartTestInput.DataFormatstatic classStartTestInput.DataStorestatic classStartTestInput.Operationstatic classStartTestInput.TransactionType
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static booleanbindingEquals(@NonNull StartTestInput thisObj, Object obj)Default implementation ofObject.equals(Object)contract for this interface.static intbindingHashCode(@NonNull StartTestInput obj)Default implementation ofObject.hashCode()contract for this interface.static StringbindingToString(@NonNull StartTestInput obj)Default implementation ofObject.toString()contract for this interface.StartTestInput.DataFormatgetDataFormat()Return dataFormat, ornullif it is not present.StartTestInput.DataStoregetDataStore()Return dataStore, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getInnerElements()Return innerElements, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getListeners()Return listeners, ornullif it is not present.StartTestInput.OperationgetOperation()Return operation, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getOuterElements()Return outerElements, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getPutsPerTx()Return putsPerTx, ornullif it is not present.StartTestInput.TransactionTypegetTransactionType()Return transactionType, ornullif it is not present.default Class<StartTestInput>implementedInterface()
-
-
-
Method Detail
-
implementedInterface
default Class<StartTestInput> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.RpcInput
-
bindingHashCode
static int bindingHashCode(@NonNull StartTestInput obj)
Default implementation ofObject.hashCode()contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.- Parameters:
obj- Object for which to generate hashCode() result.- Returns:
- Hash code value of data modeled by this interface.
- Throws:
NullPointerException- ifobjis null
-
bindingEquals
static boolean bindingEquals(@NonNull StartTestInput thisObj, Object obj)
Default implementation ofObject.equals(Object)contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.- Parameters:
thisObj- Object acting as the receiver of equals invocationobj- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
NullPointerException- ifthisObjis null
-
bindingToString
static String bindingToString(@NonNull StartTestInput obj)
Default implementation ofObject.toString()contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.- Parameters:
obj- Object for which to generate toString() result.- Returns:
Stringvalue of data modeled by this interface.- Throws:
NullPointerException- ifobjis null
-
getOperation
StartTestInput.Operation getOperation()
Return operation, ornullif it is not present.Type of the transaction operation to benchmark- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.dsbenchmark.rev150105.StartTestInput.Operationoperation, ornullif it is not present.
-
getDataFormat
StartTestInput.DataFormat getDataFormat()
Return dataFormat, ornullif it is not present.Data format:-binding-aware or binding-independent- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.dsbenchmark.rev150105.StartTestInput.DataFormatdataFormat, ornullif it is not present.
-
getTransactionType
StartTestInput.TransactionType getTransactionType()
Return transactionType, ornullif it is not present.Data format:-binding-aware or binding-independent- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.dsbenchmark.rev150105.StartTestInput.TransactionTypetransactionType, ornullif it is not present.
-
getDataStore
StartTestInput.DataStore getDataStore()
Return dataStore, ornullif it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.dsbenchmark.rev150105.StartTestInput.DataStoredataStore, ornullif it is not present.
-
getOuterElements
org.opendaylight.yangtools.yang.common.Uint32 getOuterElements()
Return outerElements, ornullif it is not present.Number of elements in the OuterList- Returns:
org.opendaylight.yangtools.yang.common.Uint32outerElements, ornullif it is not present.
-
getInnerElements
org.opendaylight.yangtools.yang.common.Uint32 getInnerElements()
Return innerElements, ornullif it is not present.Number of elements in the InnerList- Returns:
org.opendaylight.yangtools.yang.common.Uint32innerElements, ornullif it is not present.
-
getPutsPerTx
org.opendaylight.yangtools.yang.common.Uint32 getPutsPerTx()
Return putsPerTx, ornullif it is not present.Number of write operations (PUT, MERGE, or DELETE) per transaction submit- Returns:
org.opendaylight.yangtools.yang.common.Uint32putsPerTx, ornullif it is not present.
-
getListeners
org.opendaylight.yangtools.yang.common.Uint32 getListeners()
Return listeners, ornullif it is not present.Number of data tree change listeners listening for changes on the test exec tree.- Returns:
org.opendaylight.yangtools.yang.common.Uint32listeners, ornullif it is not present.
-
-