Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AnyValue - Class in org.pipservices4.commons.data
-
Cross-language implementation of dynamic object what can hold value of any type.
- AnyValue() - Constructor for class org.pipservices4.commons.data.AnyValue
- AnyValue(Object) - Constructor for class org.pipservices4.commons.data.AnyValue
-
Creates a new instance of the object and assigns its value.
- AnyValue(AnyValue) - Constructor for class org.pipservices4.commons.data.AnyValue
- AnyValueArray - Class in org.pipservices4.commons.data
-
Cross-language implementation of dynamic object array what can hold values of any type.
- AnyValueArray() - Constructor for class org.pipservices4.commons.data.AnyValueArray
- AnyValueArray(Iterable<?>) - Constructor for class org.pipservices4.commons.data.AnyValueArray
-
Creates a new instance of the array and assigns its value.
- AnyValueArray(Object[]) - Constructor for class org.pipservices4.commons.data.AnyValueArray
-
Creates a new instance of the array and assigns its value.
- AnyValueMap - Class in org.pipservices4.commons.data
-
Cross-language implementation of dynamic object map (dictionary) what can hold values of any type.
- AnyValueMap() - Constructor for class org.pipservices4.commons.data.AnyValueMap
- AnyValueMap(Map<?, ?>) - Constructor for class org.pipservices4.commons.data.AnyValueMap
-
Creates a new instance of the map and assigns its value.
- append(Iterable<?>) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Appends new elements to this array.
- append(Object[]) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Appends new elements to this array.
- append(Map<?, ?>) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Appends new elements to this map.
- append(Map<?, ?>) - Method in class org.pipservices4.commons.data.StringValueMap
-
Appends new elements to this map.
- ApplicationException - Exception Class in org.pipservices4.commons.errors
-
Defines a base class to defive various application exceptions.
- ApplicationException() - Constructor for exception class org.pipservices4.commons.errors.ApplicationException
-
Creates a new instance of application exception with unknown error category and assigns its values.
- ApplicationException(String, String, String, String) - Constructor for exception class org.pipservices4.commons.errors.ApplicationException
-
Creates a new instance of application exception and assigns its values.
- ApplicationExceptionFactory - Class in org.pipservices4.commons.errors
-
Factory to recreate exceptions from ErrorDescription values passed through the wire.
- ApplicationExceptionFactory() - Constructor for class org.pipservices4.commons.errors.ApplicationExceptionFactory
- Array - Enum constant in enum class org.pipservices4.commons.convert.TypeCode
- ArrayConverter - Class in org.pipservices4.commons.convert
-
Converts arbitrary values into array objects.
- ArrayConverter() - Constructor for class org.pipservices4.commons.convert.ArrayConverter
B
- BadRequest - Static variable in class org.pipservices4.commons.errors.ErrorCategory
-
Errors due to improper user requests, like missing or wrong parameters
- BadRequestException - Exception Class in org.pipservices4.commons.errors
-
Errors due to improper user requests.
- BadRequestException() - Constructor for exception class org.pipservices4.commons.errors.BadRequestException
-
Creates an error instance with bad request error category and assigns its values.
- BadRequestException(String, String, String) - Constructor for exception class org.pipservices4.commons.errors.BadRequestException
-
Creates an error instance and assigns its values.
- Boolean - Enum constant in enum class org.pipservices4.commons.convert.TypeCode
- BooleanConverter - Class in org.pipservices4.commons.convert
-
Converts arbitrary values to boolean values.
- BooleanConverter() - Constructor for class org.pipservices4.commons.convert.BooleanConverter
C
- clone() - Method in class org.pipservices4.commons.data.AnyValue
-
Creates a binary clone of this object.
- clone() - Method in class org.pipservices4.commons.data.AnyValueArray
-
Creates a binary clone of this object.
- clone() - Method in class org.pipservices4.commons.data.AnyValueMap
-
Creates a binary clone of this object.
- clone() - Method in interface org.pipservices4.commons.data.ICloneable
-
Creates a binary clone of this object.
- clone() - Method in class org.pipservices4.commons.data.StringValueMap
-
Creates a binary clone of this object.
- ConfigException - Exception Class in org.pipservices4.commons.errors
-
Errors related to mistakes in the microservice's user-defined configurations.
- ConfigException() - Constructor for exception class org.pipservices4.commons.errors.ConfigException
-
Creates an error instance with misconfiguration error category and assigns its values.
- ConfigException(String, String, String) - Constructor for exception class org.pipservices4.commons.errors.ConfigException
-
Creates an error instance and assigns its values.
- Conflict - Static variable in class org.pipservices4.commons.errors.ErrorCategory
-
Errors raised by conflicts between object versions that were posted by the user and those that are stored on the server.
- ConflictException - Exception Class in org.pipservices4.commons.errors
-
Errors raised by conflicts between object versions that were posted by the user and those that are stored on the server.
- ConflictException() - Constructor for exception class org.pipservices4.commons.errors.ConflictException
-
Creates an error instance with conflict error category and assigns its values.
- ConflictException(String, String, String) - Constructor for exception class org.pipservices4.commons.errors.ConflictException
-
Creates an error instance and assigns its values.
- ConnectionException - Exception Class in org.pipservices4.commons.errors
-
Errors that occur during connections to remote services.
- ConnectionException() - Constructor for exception class org.pipservices4.commons.errors.ConnectionException
-
Creates an error instance with noresponse error category and assigns its values.
- ConnectionException(String, String, String) - Constructor for exception class org.pipservices4.commons.errors.ConnectionException
-
Creates an error instance and assigns its values.
- contains(Object) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Checks if this array contains a value.
- containsAsType(Class<T>, Object) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Checks if this array contains a value.
- copyProperties(Object, Object) - Static method in class org.pipservices4.commons.reflect.RecursiveObjectWriter
-
Copies content of one object to another object by recursively reading all properties from source object and then recursively writing them to destination object.
- create(Exception) - Static method in class org.pipservices4.commons.errors.ErrorDescriptionFactory
-
Creates a serializable ErrorDescription from error object.
- create(Throwable, String) - Static method in class org.pipservices4.commons.errors.ErrorDescriptionFactory
-
Creates a serializable ErrorDescription from throwable object with unknown error category.
- create(ErrorDescription) - Static method in class org.pipservices4.commons.errors.ApplicationExceptionFactory
-
Recreates ApplicationException object from serialized ErrorDescription.
- createInstance(String, Object...) - Static method in class org.pipservices4.commons.reflect.TypeReflector
-
Creates an instance of an object type specified by its name.
- createInstance(String, String, Object...) - Static method in class org.pipservices4.commons.reflect.TypeReflector
-
Creates an instance of an object type specified by its name and library where it is defined.
- createInstanceByDescriptor(TypeDescriptor, Object...) - Static method in class org.pipservices4.commons.reflect.TypeReflector
-
Creates an instance of an object type specified by type descriptor.
- createInstanceByType(Class<?>, Object...) - Static method in class org.pipservices4.commons.reflect.TypeReflector
-
Creates an instance of an object type.
D
- DateTime - Enum constant in enum class org.pipservices4.commons.convert.TypeCode
- DateTimeConverter - Class in org.pipservices4.commons.convert
-
Converts arbitrary values into Date values.
- DateTimeConverter() - Constructor for class org.pipservices4.commons.convert.DateTimeConverter
- Double - Enum constant in enum class org.pipservices4.commons.convert.TypeCode
- DoubleConverter - Class in org.pipservices4.commons.convert
-
Converts arbitrary values into double.
- DoubleConverter() - Constructor for class org.pipservices4.commons.convert.DoubleConverter
- Duration - Enum constant in enum class org.pipservices4.commons.convert.TypeCode
- DurationConverter - Class in org.pipservices4.commons.convert
- DurationConverter() - Constructor for class org.pipservices4.commons.convert.DurationConverter
E
- Enum - Enum constant in enum class org.pipservices4.commons.convert.TypeCode
- EnumConverter - Class in org.pipservices4.commons.convert
- EnumConverter() - Constructor for class org.pipservices4.commons.convert.EnumConverter
- equals(Object) - Method in class org.pipservices4.commons.data.AnyValue
-
Compares this object value to specified specified value.
- equals(Object) - Method in class org.pipservices4.commons.reflect.TypeDescriptor
-
Compares this descriptor to a value.
- equalsAsType(Class<T>, Object) - Method in class org.pipservices4.commons.data.AnyValue
-
Compares this object value to specified specified value.
- ErrorCategory - Class in org.pipservices4.commons.errors
-
Defines standard error categories to application exceptions supported by PipServices toolkit.
- ErrorCategory() - Constructor for class org.pipservices4.commons.errors.ErrorCategory
- ErrorDescription - Class in org.pipservices4.commons.errors
-
Serializeable error description.
- ErrorDescription() - Constructor for class org.pipservices4.commons.errors.ErrorDescription
- ErrorDescriptionFactory - Class in org.pipservices4.commons.errors
-
Factory to create serializeable
ErrorDescriptionfromApplicationExceptionor from arbitrary errors. - ErrorDescriptionFactory() - Constructor for class org.pipservices4.commons.errors.ErrorDescriptionFactory
F
- FailedInvocation - Static variable in class org.pipservices4.commons.errors.ErrorCategory
-
Errors returned by remote services or network during call attempts
- FileError - Static variable in class org.pipservices4.commons.errors.ErrorCategory
-
Errors in read/write file operations
- FileException - Exception Class in org.pipservices4.commons.errors
-
Errors in read/write file operations
- FileException() - Constructor for exception class org.pipservices4.commons.errors.FileException
-
Creates an error instance and assigns its values.
- FileException(String, String, String) - Constructor for exception class org.pipservices4.commons.errors.FileException
-
Creates an error instance and assigns its values.
- Float - Enum constant in enum class org.pipservices4.commons.convert.TypeCode
- FloatConverter - Class in org.pipservices4.commons.convert
-
Converts arbitrary values into float.
- FloatConverter() - Constructor for class org.pipservices4.commons.convert.FloatConverter
- fromJson(TypeReference<T>, String) - Static method in class org.pipservices4.commons.convert.JsonConverter
-
Converts JSON string into a value of generic type specified by Class type.
- fromJson(Class<T>, String) - Static method in class org.pipservices4.commons.convert.JsonConverter
-
Converts JSON string into a value of type specified by Class type.
- fromMaps(Map<?, ?>...) - Static method in class org.pipservices4.commons.data.AnyValueMap
-
Creates a new AnyValueMap by merging two or more maps.
- fromMaps(Map<?, ?>...) - Static method in class org.pipservices4.commons.data.StringValueMap
-
Creates a new AnyValueMap by merging two or more maps.
- fromString(String) - Static method in class org.pipservices4.commons.data.StringValueMap
-
Parses semicolon-separated key-value pairs and returns them as a StringValueMap.
- fromString(String) - Static method in class org.pipservices4.commons.reflect.TypeDescriptor
-
Parses a string to get descriptor fields and returns them as a Descriptor.
- fromString(String, String) - Static method in class org.pipservices4.commons.data.AnyValueArray
-
Splits specified string into elements using a separator and assigns the elements to a newly created AnyValueArray.
- fromString(String, String, boolean) - Static method in class org.pipservices4.commons.data.AnyValueArray
-
Splits specified string into elements using a separator and assigns the elements to a newly created AnyValueArray.
- fromTuples(Object...) - Static method in class org.pipservices4.commons.data.AnyValueMap
-
Creates a new AnyValueMap from a list of key-value pairs called tuples.
- fromTuples(Object...) - Static method in class org.pipservices4.commons.data.StringValueMap
-
Creates a new StringValueMap from a list of key-value pairs called tuples.
- fromTuplesArray(Object[]) - Static method in class org.pipservices4.commons.data.AnyValueMap
-
Creates a new AnyValueMap from a list of key-value pairs called tuples.
- fromTuplesArray(Object[]) - Static method in class org.pipservices4.commons.data.StringValueMap
-
Creates a new StringValueMap from a list of key-value pairs called tuples.
- fromValue(Object) - Static method in class org.pipservices4.commons.data.AnyValueArray
-
Converts specified value into AnyValueArray.
- fromValue(Object) - Static method in class org.pipservices4.commons.data.AnyValueMap
-
Converts specified value into AnyValueMap.
- fromValues(Object...) - Static method in class org.pipservices4.commons.data.AnyValueArray
-
Creates a new AnyValueArray from a list of values
G
- get(String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Gets a map element specified by its key.
- get(String) - Method in class org.pipservices4.commons.data.StringValueMap
-
Gets a map element specified by its key.
- getAsArray() - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into an AnyArray or returns empty AnyArray if conversion is not possible.
- getAsArray(int) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into an AnyValueArray or returns empty AnyValueArray if conversion is not possible.
- getAsArray(String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into an AnyValueArray or returns empty AnyValueArray if conversion is not possible.
- getAsArray(String) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into an AnyValueArray or returns empty AnyValueArray if conversion is not possible.
- getAsArrayWithDefault(int, AnyValueArray) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into an AnyValueArray or returns default value if conversion is not possible.
- getAsArrayWithDefault(String, AnyValueArray) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into an AnyValueArray or returns default value if conversion is not possible.
- getAsArrayWithDefault(String, AnyValueArray) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into an AnyValueArray or returns default value if conversion is not possible.
- getAsBoolean() - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into a boolean or returns false if conversion is not possible.
- getAsBoolean(int) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into a boolean or returns false if conversion is not possible.
- getAsBoolean(String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into a boolean or returns false if conversion is not possible.
- getAsBoolean(String) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into a boolean or returns false if conversion is not possible.
- getAsBooleanWithDefault(boolean) - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into a boolean or returns default value if conversion is not possible.
- getAsBooleanWithDefault(int, boolean) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into a boolean or returns default value if conversion is not possible.
- getAsBooleanWithDefault(String, boolean) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into a boolean or returns default value if conversion is not possible.
- getAsBooleanWithDefault(String, boolean) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into a boolean or returns default value if conversion is not possible.
- getAsDateTime() - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into a Date or returns current date if conversion is not possible.
- getAsDateTime(int) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into a Date or returns the current date if conversion is not possible.
- getAsDateTime(String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into a Date or returns the current date if conversion is not possible.
- getAsDateTime(String) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into a Date or returns the current date if conversion is not possible.
- getAsDateTimeWithDefault(int, ZonedDateTime) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into a Date or returns default value if conversion is not possible.
- getAsDateTimeWithDefault(String, ZonedDateTime) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into a Date or returns default value if conversion is not possible.
- getAsDateTimeWithDefault(String, ZonedDateTime) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into a Date or returns default value if conversion is not possible.
- getAsDateTimeWithDefault(ZonedDateTime) - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into a Date or returns default value if conversion is not possible.
- getAsDouble() - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into a double or returns 0 if conversion is not possible.
- getAsDouble(int) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into a double or returns 0 if conversion is not possible.
- getAsDouble(String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into a double or returns 0 if conversion is not possible.
- getAsDouble(String) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into a double or returns 0 if conversion is not possible.
- getAsDoubleWithDefault(double) - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into a double or returns default value if conversion is not possible.
- getAsDoubleWithDefault(int, double) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into a double or returns default value if conversion is not possible.
- getAsDoubleWithDefault(String, double) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into a double or returns default value if conversion is not possible.
- getAsDoubleWithDefault(String, double) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into a double or returns default value if conversion is not possible.
- getAsDuration() - Method in class org.pipservices4.commons.data.AnyValue
- getAsDuration(int) - Method in class org.pipservices4.commons.data.AnyValueArray
- getAsDuration(String) - Method in class org.pipservices4.commons.data.AnyValueMap
- getAsDuration(String) - Method in class org.pipservices4.commons.data.StringValueMap
- getAsDurationWithDefault(int, Duration) - Method in class org.pipservices4.commons.data.AnyValueArray
- getAsDurationWithDefault(String, Duration) - Method in class org.pipservices4.commons.data.AnyValueMap
- getAsDurationWithDefault(String, Duration) - Method in class org.pipservices4.commons.data.StringValueMap
- getAsDurationWithDefault(Duration) - Method in class org.pipservices4.commons.data.AnyValue
- getAsEnum(Class<T>) - Method in class org.pipservices4.commons.data.AnyValue
- getAsEnum(Class<T>, int) - Method in class org.pipservices4.commons.data.AnyValueArray
- getAsEnum(Class<T>, String) - Method in class org.pipservices4.commons.data.AnyValueMap
- getAsEnum(Class<T>, String) - Method in class org.pipservices4.commons.data.StringValueMap
- getAsEnumWithDefault(Class<T>, int, T) - Method in class org.pipservices4.commons.data.AnyValueArray
- getAsEnumWithDefault(Class<T>, String, T) - Method in class org.pipservices4.commons.data.AnyValueMap
- getAsEnumWithDefault(Class<T>, String, T) - Method in class org.pipservices4.commons.data.StringValueMap
- getAsEnumWithDefault(Class<T>, T) - Method in class org.pipservices4.commons.data.AnyValue
- getAsFloat() - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into a float or returns 0 if conversion is not possible.
- getAsFloat(int) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into a float or returns 0 if conversion is not possible.
- getAsFloat(String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into a float or returns 0 if conversion is not possible.
- getAsFloat(String) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into a float or returns 0 if conversion is not possible.
- getAsFloatWithDefault(float) - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into a float or returns default value if conversion is not possible.
- getAsFloatWithDefault(int, float) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into a float or returns default value if conversion is not possible.
- getAsFloatWithDefault(String, float) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into a flot or returns default value if conversion is not possible.
- getAsFloatWithDefault(String, float) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into a float or returns default value if conversion is not possible.
- getAsInteger() - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into an integer or returns 0 if conversion is not possible.
- getAsInteger(int) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into an integer or returns 0 if conversion is not possible.
- getAsInteger(String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into an integer or returns 0 if conversion is not possible.
- getAsInteger(String) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into an integer or returns 0 if conversion is not possible.
- getAsIntegerWithDefault(int) - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into a integer or returns default value if conversion is not possible.
- getAsIntegerWithDefault(int, int) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into an integer or returns default value if conversion is not possible.
- getAsIntegerWithDefault(String, int) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into an integer or returns default value if conversion is not possible.
- getAsIntegerWithDefault(String, int) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into an integer or returns default value if conversion is not possible.
- getAsLong() - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into a long or returns 0 if conversion is not possible.
- getAsLong(int) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into a long or returns 0 if conversion is not possible.
- getAsLong(String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into a long or returns 0 if conversion is not possible.
- getAsLong(String) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into a long or returns 0 if conversion is not possible.
- getAsLongWithDefault(int, long) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into a long or returns default value if conversion is not possible.
- getAsLongWithDefault(long) - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into a long or returns default value if conversion is not possible.
- getAsLongWithDefault(String, long) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into a long or returns default value if conversion is not possible.
- getAsLongWithDefault(String, long) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into a long or returns default value if conversion is not possible.
- getAsMap() - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into AnyMap or returns empty AnyMap if conversion is not possible.
- getAsMap(int) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into an AnyValueMap or returns empty AnyValueMap if conversion is not possible.
- getAsMap(String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into an AnyValueMap or returns empty AnyValueMap if conversion is not possible.
- getAsMap(String) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into an AnyValueMap or returns empty AnyValueMap if conversion is not possible.
- getAsMapWithDefault(int, AnyValueMap) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into an AnyValueMap or returns default value if conversion is not possible.
- getAsMapWithDefault(String, AnyValueMap) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into an AnyValueMap or returns default value if conversion is not possible.
- getAsMapWithDefault(String, AnyValueMap) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into an AnyValueMap or returns default value if conversion is not possible.
- getAsNullableArray(int) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into an AnyValueArray or returns null if conversion is not possible.
- getAsNullableArray(String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into an AnyValueArray or returns null if conversion is not possible.
- getAsNullableArray(String) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into an AnyValueArray or returns null if conversion is not possible.
- getAsNullableBoolean() - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into a boolean or returns null if conversion is not possible.
- getAsNullableBoolean(int) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into a boolean or returns null if conversion is not possible.
- getAsNullableBoolean(String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into a boolean or returns null if conversion is not possible.
- getAsNullableBoolean(String) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into a boolean or returns null if conversion is not possible.
- getAsNullableDateTime() - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into a Date or returns null if conversion is not possible.
- getAsNullableDateTime(int) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into a Date or returns null if conversion is not possible.
- getAsNullableDateTime(String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into a Date or returns null if conversion is not possible.
- getAsNullableDateTime(String) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into a Date or returns null if conversion is not possible.
- getAsNullableDouble() - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into a double or returns null if conversion is not possible.
- getAsNullableDouble(int) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into a double or returns null if conversion is not possible.
- getAsNullableDouble(String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into a double or returns null if conversion is not possible.
- getAsNullableDouble(String) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into a double or returns null if conversion is not possible.
- getAsNullableDuration() - Method in class org.pipservices4.commons.data.AnyValue
- getAsNullableDuration(int) - Method in class org.pipservices4.commons.data.AnyValueArray
- getAsNullableDuration(String) - Method in class org.pipservices4.commons.data.AnyValueMap
- getAsNullableDuration(String) - Method in class org.pipservices4.commons.data.StringValueMap
- getAsNullableEnum(Class<T>) - Method in class org.pipservices4.commons.data.AnyValue
- getAsNullableEnum(Class<T>, int) - Method in class org.pipservices4.commons.data.AnyValueArray
- getAsNullableEnum(Class<T>, String) - Method in class org.pipservices4.commons.data.AnyValueMap
- getAsNullableEnum(Class<T>, String) - Method in class org.pipservices4.commons.data.StringValueMap
- getAsNullableFloat() - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into a float or returns null if conversion is not possible.
- getAsNullableFloat(int) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into a float or returns null if conversion is not possible.
- getAsNullableFloat(String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into a float or returns null if conversion is not possible.
- getAsNullableFloat(String) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into a float or returns null if conversion is not possible.
- getAsNullableInteger() - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into an integer or returns null if conversion is not possible.
- getAsNullableInteger(int) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into an integer or returns null if conversion is not possible.
- getAsNullableInteger(String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into an integer or returns null if conversion is not possible.
- getAsNullableInteger(String) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into an integer or returns null if conversion is not possible.
- getAsNullableLong() - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into a long or returns null if conversion is not possible.
- getAsNullableLong(int) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into a long or returns null if conversion is not possible.
- getAsNullableLong(String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into a long or returns null if conversion is not possible.
- getAsNullableLong(String) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into a long or returns null if conversion is not possible.
- getAsNullableMap(int) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into an AnyValueMap or returns null if conversion is not possible.
- getAsNullableMap(String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into an AnyValueMap or returns null if conversion is not possible.
- getAsNullableMap(String) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into an AnyValueMap or returns null if conversion is not possible.
- getAsNullableString() - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into a string or returns null if conversion is not possible.
- getAsNullableString(int) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into a string or returns null if conversion is not possible.
- getAsNullableString(String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into a string or returns null if conversion is not possible.
- getAsNullableString(String) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into a string or returns null if conversion is not possible.
- getAsNullableType(Class<T>) - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into a value defined by specied typecode.
- getAsNullableType(Class<T>, int) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into a value defined by specied typecode.
- getAsNullableType(Class<T>, String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into a value defined by specied typecode.
- getAsNullableType(Class<T>, String) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into a value defined by specied typecode.
- getAsObject() - Method in class org.pipservices4.commons.data.AnyValue
-
Gets the value stored in this object without any conversions
- getAsObject() - Method in class org.pipservices4.commons.data.AnyValueArray
-
Gets the value stored in this array element without any conversions
- getAsObject() - Method in class org.pipservices4.commons.data.AnyValueMap
-
Gets the value stored in this map element without any conversions
- getAsObject() - Method in class org.pipservices4.commons.data.StringValueMap
-
Gets the value stored in this map element without any conversions
- getAsObject(int) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Gets an array element specified by its index.
- getAsObject(TypeReference<T>) - Method in class org.pipservices4.commons.data.AnyValue
-
Gets the value stored in this object without any conversions
- getAsObject(TypeReference<T>, int) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Gets an array element specified by its index.
- getAsObject(TypeReference<T>, String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Gets the value stored in map element without any conversions.
- getAsObject(Class<T>) - Method in class org.pipservices4.commons.data.AnyValue
-
Gets the value stored in this object without any conversions
- getAsObject(Class<T>, int) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Gets an array element specified by its index.
- getAsObject(Class<T>, String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Gets the value stored in map element without any conversions.
- getAsObject(String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Gets the value stored in map element without any conversions.
- getAsObject(String) - Method in class org.pipservices4.commons.data.StringValueMap
-
Gets the value stored in map element without any conversions.
- getAsString() - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into a string or returns "" if conversion is not possible.
- getAsString(int) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into a string or returns "" if conversion is not possible.
- getAsString(String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into a string or returns "" if conversion is not possible.
- getAsString(String) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into a string or returns "" if conversion is not possible.
- getAsStringWithDefault(int, String) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into a string or returns default value if conversion is not possible.
- getAsStringWithDefault(String) - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into a string or returns default value if conversion is not possible.
- getAsStringWithDefault(String, String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into a string or returns default value if conversion is not possible.
- getAsStringWithDefault(String, String) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into a string or returns default value if conversion is not possible.
- getAsType(Class<T>) - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into a value defined by specied typecode.
- getAsType(Class<T>, int) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into a value defined by specied typecode.
- getAsType(Class<T>, String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into a value defined by specied typecode.
- getAsType(Class<T>, String) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into a value defined by specied typecode.
- getAsTypeWithDefault(Class<T>, int, T) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into a value defined by specied typecode.
- getAsTypeWithDefault(Class<T>, String, T) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into a value defined by specied typecode.
- getAsTypeWithDefault(Class<T>, String, T) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into a value defined by specied typecode.
- getAsTypeWithDefault(Class<T>, T) - Method in class org.pipservices4.commons.data.AnyValue
-
Converts object value into a value defined by specied typecode.
- getAsValue(int) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Converts array element into an AnyValue or returns an empty AnyValue if conversion is not possible.
- getAsValue(String) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Converts map element into an AnyValue or returns an empty AnyValue if conversion is not possible.
- getAsValue(String) - Method in class org.pipservices4.commons.data.StringValueMap
-
Converts map element into an AnyValue or returns an empty AnyValue if conversion is not possible.
- getCategory() - Method in exception class org.pipservices4.commons.errors.ApplicationException
- getCategory() - Method in class org.pipservices4.commons.errors.ErrorDescription
- getCause() - Method in class org.pipservices4.commons.errors.ErrorDescription
- getCauseString() - Method in exception class org.pipservices4.commons.errors.ApplicationException
-
Gets original error wrapped by this exception as a string message.
- getCode() - Method in exception class org.pipservices4.commons.errors.ApplicationException
- getCode() - Method in class org.pipservices4.commons.errors.ErrorDescription
- getDetails() - Method in exception class org.pipservices4.commons.errors.ApplicationException
- getDetails() - Method in class org.pipservices4.commons.errors.ErrorDescription
- getKeys() - Method in class org.pipservices4.commons.data.AnyValueMap
-
Gets keys of all elements stored in this map.
- getKeys() - Method in class org.pipservices4.commons.data.StringValueMap
-
Gets keys of all elements stored in this map.
- getLibrary() - Method in class org.pipservices4.commons.reflect.TypeDescriptor
-
Gets the name of the library or module where the object type is defined.
- getMessage() - Method in exception class org.pipservices4.commons.errors.ApplicationException
- getMessage() - Method in class org.pipservices4.commons.errors.ErrorDescription
- getMethodNames(Object) - Static method in class org.pipservices4.commons.reflect.MethodReflector
-
Gets names of all methods implemented in specified object.
- getName() - Method in class org.pipservices4.commons.reflect.TypeDescriptor
-
Get the name of the object type.
- getProperties(Object) - Static method in class org.pipservices4.commons.reflect.ObjectReader
-
Get values of all properties in specified object and returns them as a map.
- getProperties(Object) - Static method in class org.pipservices4.commons.reflect.PropertyReflector
-
Get values of all properties in specified object and returns them as a map.
- getProperties(Object) - Static method in class org.pipservices4.commons.reflect.RecursiveObjectReader
-
Get values of all properties in specified object and its subobjects and returns them as a map.
- getProperty(Object, String) - Static method in class org.pipservices4.commons.reflect.ObjectReader
-
Gets value of object property specified by its name.
- getProperty(Object, String) - Static method in class org.pipservices4.commons.reflect.PropertyReflector
-
Gets value of object property specified by its name.
- getProperty(Object, String) - Static method in class org.pipservices4.commons.reflect.RecursiveObjectReader
-
Recursively gets value of object or its subobjects property specified by its name.
- getPropertyNames(Object) - Static method in class org.pipservices4.commons.reflect.ObjectReader
-
Gets names of all properties implemented in specified object.
- getPropertyNames(Object) - Static method in class org.pipservices4.commons.reflect.PropertyReflector
-
Gets names of all properties implemented in specified object.
- getPropertyNames(Object) - Static method in class org.pipservices4.commons.reflect.RecursiveObjectReader
-
Recursively gets names of all properties implemented in specified object and its subobjects.
- getStackTrace() - Method in class org.pipservices4.commons.errors.ErrorDescription
- getStackTraceString() - Method in exception class org.pipservices4.commons.errors.ApplicationException
-
Gets a stack trace where this exception occured.
- getStatus() - Method in exception class org.pipservices4.commons.errors.ApplicationException
- getStatus() - Method in class org.pipservices4.commons.errors.ErrorDescription
- getTraceId() - Method in exception class org.pipservices4.commons.errors.ApplicationException
- getTraceId() - Method in class org.pipservices4.commons.errors.ErrorDescription
- getType() - Method in class org.pipservices4.commons.errors.ErrorDescription
- getType(String) - Static method in class org.pipservices4.commons.reflect.TypeReflector
-
Gets object type by its name.
- getType(String, String) - Static method in class org.pipservices4.commons.reflect.TypeReflector
-
Gets object type by its name and library where it is defined.
- getTypeByDescriptor(TypeDescriptor) - Static method in class org.pipservices4.commons.reflect.TypeReflector
-
Gets object type by type descriptor.
- getTypeCode() - Method in class org.pipservices4.commons.data.AnyValue
-
Gets type code for the value stored in this object.
- getValue(Object) - Static method in class org.pipservices4.commons.reflect.ObjectReader
-
Gets a real object value.
H
- hashCode() - Method in class org.pipservices4.commons.data.AnyValue
-
Gets an object hash code which can be used to optimize storing and searching.
- hasMethod(Object, String) - Static method in class org.pipservices4.commons.reflect.MethodReflector
-
Checks if object has a method with specified name..
- hasProperty(Object, String) - Static method in class org.pipservices4.commons.reflect.ObjectReader
-
Checks if object has a property with specified name.
- hasProperty(Object, String) - Static method in class org.pipservices4.commons.reflect.PropertyReflector
-
Checks if object has a property with specified name..
- hasProperty(Object, String) - Static method in class org.pipservices4.commons.reflect.RecursiveObjectReader
-
Checks recursively if object or its subobjects has a property with specified name.
I
- ICloneable - Interface in org.pipservices4.commons.data
-
Interface for data objects that are able to create their full binary copy,.
- Integer - Enum constant in enum class org.pipservices4.commons.convert.TypeCode
- IntegerConverter - Class in org.pipservices4.commons.convert
-
Converts arbitrary values into integer.
- IntegerConverter() - Constructor for class org.pipservices4.commons.convert.IntegerConverter
- Internal - Static variable in class org.pipservices4.commons.errors.ErrorCategory
-
Internal errors caused by programming mistakes
- InternalException - Exception Class in org.pipservices4.commons.errors
-
Errors caused by programming mistakes
- InternalException() - Constructor for exception class org.pipservices4.commons.errors.InternalException
-
Creates an error instance and assigns its values.
- InternalException(String, String, String) - Constructor for exception class org.pipservices4.commons.errors.InternalException
-
Creates an error instance and assigns its values.
- InvalidState - Static variable in class org.pipservices4.commons.errors.ErrorCategory
-
Errors related to operations called in wrong component state.
- InvalidStateException - Exception Class in org.pipservices4.commons.errors
-
Errors related to operations called in wrong component state.
- InvalidStateException() - Constructor for exception class org.pipservices4.commons.errors.InvalidStateException
-
Creates an error instance and assigns its values.
- InvalidStateException(String, String, String) - Constructor for exception class org.pipservices4.commons.errors.InvalidStateException
-
Creates an error instance and assigns its values.
- InvocationException - Exception Class in org.pipservices4.commons.errors
-
Errors returned by remote services or network during call attempts
- InvocationException() - Constructor for exception class org.pipservices4.commons.errors.InvocationException
-
Creates an error instance and assigns its values.
- InvocationException(String, String, String) - Constructor for exception class org.pipservices4.commons.errors.InvocationException
-
Creates an error instance and assigns its values.
- invokeMethod(Object, String, Object...) - Static method in class org.pipservices4.commons.reflect.MethodReflector
-
Invokes an object method by its name with specified parameters.
- isPrimitive(Object) - Static method in class org.pipservices4.commons.reflect.TypeReflector
-
Checks if value has primitive type.
J
- JsonConverter - Class in org.pipservices4.commons.convert
-
Converts arbitrary values from and to JSON (JavaScript Object Notation) strings.
- JsonConverter() - Constructor for class org.pipservices4.commons.convert.JsonConverter
L
- length() - Method in class org.pipservices4.commons.data.AnyValueMap
-
Gets a number of elements stored in this map.
- length() - Method in class org.pipservices4.commons.data.StringValueMap
-
Gets a number of elements stored in this map.
- listToArray(Object) - Static method in class org.pipservices4.commons.convert.ArrayConverter
-
Converts value into array object with empty array as default.
- Long - Enum constant in enum class org.pipservices4.commons.convert.TypeCode
- LongConverter - Class in org.pipservices4.commons.convert
-
Converts arbitrary values into longs.
- LongConverter() - Constructor for class org.pipservices4.commons.convert.LongConverter
M
- Map - Enum constant in enum class org.pipservices4.commons.convert.TypeCode
- MapConverter - Class in org.pipservices4.commons.convert
-
Converts arbitrary values into map objects.
- MapConverter() - Constructor for class org.pipservices4.commons.convert.MapConverter
- matchType(Object, TypeCode) - Static method in class org.pipservices4.commons.reflect.TypeMatcher
-
Matches expected type to an actual type.
- matchType(Object, TypeCode, Object) - Static method in class org.pipservices4.commons.reflect.TypeMatcher
-
Matches expected type to an actual type.
- matchTypeByName(String, TypeCode) - Static method in class org.pipservices4.commons.reflect.TypeMatcher
-
Matches expected type to an actual type.
- matchTypeByName(String, TypeCode, Object) - Static method in class org.pipservices4.commons.reflect.TypeMatcher
-
Matches expected type to an actual type.
- matchValueType(Object, Object) - Static method in class org.pipservices4.commons.reflect.TypeMatcher
-
Matches expected type to a type of a value.
- matchValueTypeByName(String, Object) - Static method in class org.pipservices4.commons.reflect.TypeMatcher
-
Matches expected type to a type of a value.
- MethodReflector - Class in org.pipservices4.commons.reflect
-
Helper class to perform method introspection and dynamic invocation.
- MethodReflector() - Constructor for class org.pipservices4.commons.reflect.MethodReflector
- Misconfiguration - Static variable in class org.pipservices4.commons.errors.ErrorCategory
-
Errors related to mistakes in user-defined configuration
N
- NoResponse - Static variable in class org.pipservices4.commons.errors.ErrorCategory
-
Errors caused by remote calls timeouted and not returning results.
- NotFound - Static variable in class org.pipservices4.commons.errors.ErrorCategory
-
Error caused by attempt to access missing object
- NotFoundException - Exception Class in org.pipservices4.commons.errors
-
Error caused by attempt to access missing object
- NotFoundException() - Constructor for exception class org.pipservices4.commons.errors.NotFoundException
-
Creates an error instance and assigns its values.
- NotFoundException(String, String, String) - Constructor for exception class org.pipservices4.commons.errors.NotFoundException
-
Creates an error instance and assigns its values.
O
- Object - Enum constant in enum class org.pipservices4.commons.convert.TypeCode
- ObjectReader - Class in org.pipservices4.commons.reflect
-
Helper class to perform property introspection and dynamic reading.
- ObjectReader() - Constructor for class org.pipservices4.commons.reflect.ObjectReader
- ObjectWriter - Class in org.pipservices4.commons.reflect
-
Helper class to perform property introspection and dynamic writing.
- ObjectWriter() - Constructor for class org.pipservices4.commons.reflect.ObjectWriter
- org.pipservices4.commons.convert - package org.pipservices4.commons.convert
- org.pipservices4.commons.data - package org.pipservices4.commons.data
- org.pipservices4.commons.errors - package org.pipservices4.commons.errors
- org.pipservices4.commons.reflect - package org.pipservices4.commons.reflect
P
- PropertyReflector - Class in org.pipservices4.commons.reflect
-
Helper class to perform property introspection and dynamic reading and writing.
- PropertyReflector() - Constructor for class org.pipservices4.commons.reflect.PropertyReflector
- put(int, Object) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Puts a new value into array element specified by its index.
- put(String, Object) - Method in class org.pipservices4.commons.data.StringValueMap
-
Puts a new value into map element specified by its key.
R
- RecursiveMapConverter - Class in org.pipservices4.commons.convert
-
Converts arbitrary values into map objects using extended conversion rules.
- RecursiveMapConverter() - Constructor for class org.pipservices4.commons.convert.RecursiveMapConverter
- RecursiveObjectReader - Class in org.pipservices4.commons.reflect
-
Helper class to perform property introspection and dynamic reading.
- RecursiveObjectReader() - Constructor for class org.pipservices4.commons.reflect.RecursiveObjectReader
- RecursiveObjectWriter - Class in org.pipservices4.commons.reflect
-
Helper class to perform property introspection and dynamic writing.
- RecursiveObjectWriter() - Constructor for class org.pipservices4.commons.reflect.RecursiveObjectWriter
S
- setAsObject(int, Object) - Method in class org.pipservices4.commons.data.AnyValueArray
-
Sets a new value into array element specified by its index.
- setAsObject(Object) - Method in class org.pipservices4.commons.data.AnyValue
-
Sets a new value for this object
- setAsObject(Object) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Sets a new value for this array element
- setAsObject(Object) - Method in class org.pipservices4.commons.data.StringValueMap
-
Sets a new value for this array element
- setAsObject(String, Object) - Method in class org.pipservices4.commons.data.AnyValueMap
-
Sets a new value to map element specified by its index.
- setAsObject(String, Object) - Method in class org.pipservices4.commons.data.StringValueMap
-
Sets a new value to map element specified by its index.
- setCategory(String) - Method in exception class org.pipservices4.commons.errors.ApplicationException
- setCategory(String) - Method in class org.pipservices4.commons.errors.ErrorDescription
- setCause(String) - Method in class org.pipservices4.commons.errors.ErrorDescription
- setCauseString(String) - Method in exception class org.pipservices4.commons.errors.ApplicationException
-
Sets original error wrapped by this exception as a string message.
- setCode(String) - Method in exception class org.pipservices4.commons.errors.ApplicationException
- setCode(String) - Method in class org.pipservices4.commons.errors.ErrorDescription
- setDetails(StringValueMap) - Method in exception class org.pipservices4.commons.errors.ApplicationException
- setDetails(StringValueMap) - Method in class org.pipservices4.commons.errors.ErrorDescription
- setMessage(String) - Method in exception class org.pipservices4.commons.errors.ApplicationException
- setMessage(String) - Method in class org.pipservices4.commons.errors.ErrorDescription
- setProperties(Object, Map<String, Object>) - Static method in class org.pipservices4.commons.reflect.ObjectWriter
-
Sets values of some (all) object properties.
- setProperties(Object, Map<String, Object>) - Static method in class org.pipservices4.commons.reflect.PropertyReflector
-
Sets values of some (all) object properties.
- setProperties(Object, Map<String, Object>) - Static method in class org.pipservices4.commons.reflect.RecursiveObjectWriter
-
Recursively sets values of some (all) object and its subobjects properties.
- setProperty(Object, String, Object) - Static method in class org.pipservices4.commons.reflect.ObjectWriter
-
Sets value of object property specified by its name.
- setProperty(Object, String, Object) - Static method in class org.pipservices4.commons.reflect.PropertyReflector
-
Sets value of object property specified by its name.
- setProperty(Object, String, Object) - Static method in class org.pipservices4.commons.reflect.RecursiveObjectWriter
-
Recursively sets value of object and its subobjects property specified by its name.
- setStackTrace(String) - Method in class org.pipservices4.commons.errors.ErrorDescription
- setStackTraceString(String) - Method in exception class org.pipservices4.commons.errors.ApplicationException
-
Sets a stack trace where this exception occured.
- setStatus(int) - Method in exception class org.pipservices4.commons.errors.ApplicationException
- setStatus(int) - Method in class org.pipservices4.commons.errors.ErrorDescription
- setTraceId(String) - Method in exception class org.pipservices4.commons.errors.ApplicationException
- setTraceId(String) - Method in class org.pipservices4.commons.errors.ErrorDescription
- setType(String) - Method in class org.pipservices4.commons.errors.ErrorDescription
- String - Enum constant in enum class org.pipservices4.commons.convert.TypeCode
- StringConverter - Class in org.pipservices4.commons.convert
-
Converts arbitrary values into strings.
- StringConverter() - Constructor for class org.pipservices4.commons.convert.StringConverter
- StringValueMap - Class in org.pipservices4.commons.data
-
Cross-language implementation of a map (dictionary) where all keys and values are strings.
- StringValueMap() - Constructor for class org.pipservices4.commons.data.StringValueMap
- StringValueMap(Map<?, ?>) - Constructor for class org.pipservices4.commons.data.StringValueMap
-
Creates a new instance of the map and assigns its value.
T
- toArray(Object) - Static method in class org.pipservices4.commons.convert.ArrayConverter
-
Converts value into array object with empty array as default.
- toArrayWithDefault(Object, List<Object>) - Static method in class org.pipservices4.commons.convert.ArrayConverter
-
Converts value into array object with empty array as default.
- toBoolean(Object) - Static method in class org.pipservices4.commons.convert.BooleanConverter
-
Converts value into boolean or returns false when conversion is not possible.
- toBooleanWithDefault(Object, boolean) - Static method in class org.pipservices4.commons.convert.BooleanConverter
-
Converts value into boolean or returns default value when conversion is not possible
- toDateTime(Object) - Static method in class org.pipservices4.commons.convert.DateTimeConverter
-
Converts value into Date or returns current date when conversion is not possible.
- toDateTimeWithDefault(Object, ZonedDateTime) - Static method in class org.pipservices4.commons.convert.DateTimeConverter
-
Converts value into Date or returns default when conversion is not possible.
- toDouble(Object) - Static method in class org.pipservices4.commons.convert.DoubleConverter
-
Converts value into doubles or returns 0 when conversion is not possible.
- toDoubleWithDefault(Object, double) - Static method in class org.pipservices4.commons.convert.DoubleConverter
-
Converts value into doubles or returns default value when conversion is not possible.
- toDuration(Object) - Static method in class org.pipservices4.commons.convert.DurationConverter
- toDurationWithDefault(Object, Duration) - Static method in class org.pipservices4.commons.convert.DurationConverter
- toEnum(Class<T>, Object) - Static method in class org.pipservices4.commons.convert.EnumConverter
- toEnumWithDefault(Class<T>, Object, T) - Static method in class org.pipservices4.commons.convert.EnumConverter
- toFloat(Object) - Static method in class org.pipservices4.commons.convert.FloatConverter
-
Converts value into float or returns 0 when conversion is not possible.
- toFloatWithDefault(Object, float) - Static method in class org.pipservices4.commons.convert.FloatConverter
-
Converts value into float or returns default when conversion is not possible.
- toInteger(Object) - Static method in class org.pipservices4.commons.convert.IntegerConverter
-
Converts value into integer or returns 0 when conversion is not possible.
- toIntegerWithDefault(Object, int) - Static method in class org.pipservices4.commons.convert.IntegerConverter
-
Converts value into integer or returns default value when conversion is not possible.
- toJson(Object) - Static method in class org.pipservices4.commons.convert.JsonConverter
-
Converts value into JSON string.
- toLong(Object) - Static method in class org.pipservices4.commons.convert.LongConverter
-
Converts value into long or returns 0 when conversion is not possible.
- toLongWithDefault(Object, long) - Static method in class org.pipservices4.commons.convert.LongConverter
-
Converts value into integer or returns default when conversion is not possible.
- toMap(Object) - Static method in class org.pipservices4.commons.convert.MapConverter
-
Converts value into map object or returns empty map when conversion is not possible
- toMap(Object) - Static method in class org.pipservices4.commons.convert.RecursiveMapConverter
-
Converts value into map object or returns empty map when conversion is not possible
- toMap(String) - Static method in class org.pipservices4.commons.convert.JsonConverter
-
Converts JSON string into map object or returns empty map when conversion is not possible.
- toMapWithDefault(Object, Map<String, Object>) - Static method in class org.pipservices4.commons.convert.MapConverter
-
Converts value into map object or returns default when conversion is not possible
- toMapWithDefault(Object, Map<String, Object>) - Static method in class org.pipservices4.commons.convert.RecursiveMapConverter
-
Converts value into map object or returns default when conversion is not possible
- toMapWithDefault(String, Map<String, Object>) - Static method in class org.pipservices4.commons.convert.JsonConverter
-
Converts JSON string into map object or returns default value when conversion is not possible.
- toNullableArray(Object) - Static method in class org.pipservices4.commons.convert.ArrayConverter
-
Converts value into array object.
- toNullableBoolean(Object) - Static method in class org.pipservices4.commons.convert.BooleanConverter
-
Converts value into boolean or returns null when conversion is not possible.
- toNullableDateTime(Object) - Static method in class org.pipservices4.commons.convert.DateTimeConverter
-
Converts value into Date or returns null when conversion is not possible.
- toNullableDouble(Object) - Static method in class org.pipservices4.commons.convert.DoubleConverter
-
Converts value into doubles or returns null when conversion is not possible.
- toNullableDuration(Object) - Static method in class org.pipservices4.commons.convert.DurationConverter
- toNullableEnum(Class<T>, Object) - Static method in class org.pipservices4.commons.convert.EnumConverter
- toNullableFloat(Object) - Static method in class org.pipservices4.commons.convert.FloatConverter
-
Converts value into float or returns null when conversion is not possible.
- toNullableInteger(Object) - Static method in class org.pipservices4.commons.convert.IntegerConverter
-
Converts value into integer or returns null when conversion is not possible.
- toNullableLong(Object) - Static method in class org.pipservices4.commons.convert.LongConverter
-
Converts value into long or returns null when conversion is not possible.
- toNullableMap(Object) - Static method in class org.pipservices4.commons.convert.MapConverter
-
Converts value into map object or returns null when conversion is not possible.
- toNullableMap(Object) - Static method in class org.pipservices4.commons.convert.RecursiveMapConverter
-
Converts value into map object or returns null when conversion is not possible.
- toNullableMap(String) - Static method in class org.pipservices4.commons.convert.JsonConverter
-
Converts JSON string into map object or returns null when conversion is not possible.
- toNullableString(Object) - Static method in class org.pipservices4.commons.convert.StringConverter
-
Converts value into string or returns null when value is null.
- toNullableType(Class<T>, Object) - Static method in class org.pipservices4.commons.convert.TypeConverter
-
Converts value into an object type specified by Type Code or returns null when conversion is not possible.
- toString() - Method in class org.pipservices4.commons.data.AnyValue
-
Gets a string representation of the object.
- toString() - Method in class org.pipservices4.commons.data.AnyValueArray
-
Gets a string representation of the object.
- toString() - Method in class org.pipservices4.commons.data.AnyValueMap
-
Gets a string representation of the object.
- toString() - Method in class org.pipservices4.commons.data.StringValueMap
-
Gets a string representation of the object.
- toString() - Method in class org.pipservices4.commons.reflect.TypeDescriptor
-
Gets a string representation of the object.
- toString(Object) - Static method in class org.pipservices4.commons.convert.StringConverter
-
Converts value into string or returns "" when value is null.
- toString(TypeCode) - Static method in class org.pipservices4.commons.convert.TypeConverter
-
Converts a TypeCode into its string name.
- toStringWithDefault(Object, String) - Static method in class org.pipservices4.commons.convert.StringConverter
-
Converts value into string or returns default when value is null.
- toType(Class<T>, Object) - Static method in class org.pipservices4.commons.convert.TypeConverter
-
Converts value into an object type specified by Type Code or returns type default when conversion is not possible.
- toTypeCode(Class<?>) - Static method in class org.pipservices4.commons.convert.TypeConverter
-
Gets TypeCode for specific type.
- toTypeCode(Object) - Static method in class org.pipservices4.commons.convert.TypeConverter
-
Gets TypeCode for specific value.
- toTypeWithDefault(Class<T>, Object, T) - Static method in class org.pipservices4.commons.convert.TypeConverter
-
Converts value into an object type specified by Type Code or returns default value when conversion is not possible.
- TypeCode - Enum Class in org.pipservices4.commons.convert
-
Codes for the data types that can be converted using
TypeConverter. - TypeConverter - Class in org.pipservices4.commons.convert
-
Converts arbitrary values into objects specific by TypeCodes.
- TypeConverter() - Constructor for class org.pipservices4.commons.convert.TypeConverter
- TypeDescriptor - Class in org.pipservices4.commons.reflect
-
Descriptor that points to specific object type by it's name and optional library (or module) where this type is defined.
- TypeDescriptor(String, String) - Constructor for class org.pipservices4.commons.reflect.TypeDescriptor
-
Creates a new instance of the type descriptor and sets its values.
- TypeMatcher - Class in org.pipservices4.commons.reflect
-
Helper class matches value types for equality.
- TypeMatcher() - Constructor for class org.pipservices4.commons.reflect.TypeMatcher
- TypeReflector - Class in org.pipservices4.commons.reflect
-
Helper class to perform object type introspection and object instantiation.
- TypeReflector() - Constructor for class org.pipservices4.commons.reflect.TypeReflector
U
- Unauthorized - Static variable in class org.pipservices4.commons.errors.ErrorCategory
-
Access errors caused by missing user identity (authentication error) or incorrect security permissions (authorization error).
- UnauthorizedException - Exception Class in org.pipservices4.commons.errors
-
Access errors caused by missing user identity (authentication error) or incorrect security permissions (authorization error).
- UnauthorizedException() - Constructor for exception class org.pipservices4.commons.errors.UnauthorizedException
-
Creates an error instance and assigns its values.
- UnauthorizedException(String, String, String) - Constructor for exception class org.pipservices4.commons.errors.UnauthorizedException
-
Creates an error instance and assigns its values.
- Unknown - Enum constant in enum class org.pipservices4.commons.convert.TypeCode
- Unknown - Static variable in class org.pipservices4.commons.errors.ErrorCategory
-
Unknown or unexpected errors
- UnknownException - Exception Class in org.pipservices4.commons.errors
-
Unknown or unexpected errors
- UnknownException() - Constructor for exception class org.pipservices4.commons.errors.UnknownException
-
Creates an error instance and assigns its values.
- UnknownException(String, String, String) - Constructor for exception class org.pipservices4.commons.errors.UnknownException
-
Creates an error instance and assigns its values.
- Unsupported - Static variable in class org.pipservices4.commons.errors.ErrorCategory
-
Errors caused by calls to unsupported or not yet implemented functionality
- UnsupportedException - Exception Class in org.pipservices4.commons.errors
-
Errors caused by calls to unsupported or not yet implemented functionality
- UnsupportedException() - Constructor for exception class org.pipservices4.commons.errors.UnsupportedException
-
Creates an error instance and assigns its values.
- UnsupportedException(String, String, String) - Constructor for exception class org.pipservices4.commons.errors.UnsupportedException
-
Creates an error instance and assigns its values.
V
- valueOf(String) - Static method in enum class org.pipservices4.commons.convert.TypeCode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.pipservices4.commons.convert.TypeCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withCause(Throwable) - Method in exception class org.pipservices4.commons.errors.ApplicationException
-
Sets a original error wrapped by this exception
- withCode(String) - Method in exception class org.pipservices4.commons.errors.ApplicationException
-
Sets a unique error code.
- withDetails(String, Object) - Method in exception class org.pipservices4.commons.errors.ApplicationException
-
Sets a parameter for additional error details.
- withStackTrace(String) - Method in exception class org.pipservices4.commons.errors.ApplicationException
-
Sets a stack trace for this error.
- withStatus(int) - Method in exception class org.pipservices4.commons.errors.ApplicationException
-
Sets a HTTP status code which shall be returned by REST calls.
- withtraceId(String) - Method in exception class org.pipservices4.commons.errors.ApplicationException
-
Sets a correlation id which can be used to trace this error through a call chain.
- wrap(Throwable) - Method in exception class org.pipservices4.commons.errors.ApplicationException
-
Wraps another exception into an application exception object.
- wrapException(ApplicationException, Throwable) - Static method in exception class org.pipservices4.commons.errors.ApplicationException
-
Wraps another exception into specified application exception object.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form