Class PropertyValues
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.memory.PropertyValues
-
public final class PropertyValues extends Object
Utility class for creatingPropertyValue
instances.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @Nullable PropertyValue
create(@Nullable PropertyState property)
static @Nullable PropertyState
create(@Nullable PropertyValue value)
static boolean
match(@NotNull PropertyState p1, @NotNull PropertyValue p2)
static boolean
match(@NotNull PropertyValue p1, @NotNull PropertyState p2)
static boolean
match(@NotNull PropertyValue p1, @NotNull PropertyValue p2)
static @NotNull PropertyValue
newBinary(@org.jetbrains.annotations.NotNull byte[] value)
static @NotNull PropertyValue
newBinary(@NotNull Blob value)
static @NotNull PropertyValue
newBoolean(boolean value)
static @NotNull PropertyValue
newDate(@NotNull String value)
static @NotNull PropertyValue
newDecimal(@NotNull BigDecimal value)
static @NotNull PropertyValue
newDouble(@NotNull Double value)
static @NotNull PropertyValue
newLong(@NotNull Long value)
static @NotNull PropertyValue
newName(@NotNull Iterable<String> value)
static @NotNull PropertyValue
newName(@NotNull String value)
static @NotNull PropertyValue
newPath(@NotNull String value)
static @NotNull PropertyValue
newReference(@NotNull String value)
static @NotNull PropertyValue
newString(@NotNull Iterable<String> value)
static @NotNull PropertyValue
newString(@NotNull String value)
static @NotNull PropertyValue
newUri(@NotNull String value)
static @NotNull PropertyValue
newWeakReference(@NotNull String value)
static boolean
notMatch(@NotNull PropertyValue p1, @NotNull PropertyValue p2)
-
-
-
Method Detail
-
create
@Nullable public static @Nullable PropertyValue create(@Nullable @Nullable PropertyState property)
-
create
@Nullable public static @Nullable PropertyState create(@Nullable @Nullable PropertyValue value)
-
newString
@NotNull public static @NotNull PropertyValue newString(@NotNull @NotNull String value)
-
newString
@NotNull public static @NotNull PropertyValue newString(@NotNull @NotNull Iterable<String> value)
-
newLong
@NotNull public static @NotNull PropertyValue newLong(@NotNull @NotNull Long value)
-
newDouble
@NotNull public static @NotNull PropertyValue newDouble(@NotNull @NotNull Double value)
-
newDecimal
@NotNull public static @NotNull PropertyValue newDecimal(@NotNull @NotNull BigDecimal value)
-
newBoolean
@NotNull public static @NotNull PropertyValue newBoolean(boolean value)
-
newDate
@NotNull public static @NotNull PropertyValue newDate(@NotNull @NotNull String value)
-
newName
@NotNull public static @NotNull PropertyValue newName(@NotNull @NotNull String value)
-
newName
@NotNull public static @NotNull PropertyValue newName(@NotNull @NotNull Iterable<String> value)
-
newPath
@NotNull public static @NotNull PropertyValue newPath(@NotNull @NotNull String value)
-
newReference
@NotNull public static @NotNull PropertyValue newReference(@NotNull @NotNull String value)
-
newWeakReference
@NotNull public static @NotNull PropertyValue newWeakReference(@NotNull @NotNull String value)
-
newUri
@NotNull public static @NotNull PropertyValue newUri(@NotNull @NotNull String value)
-
newBinary
@NotNull public static @NotNull PropertyValue newBinary(@NotNull @org.jetbrains.annotations.NotNull byte[] value)
-
newBinary
@NotNull public static @NotNull PropertyValue newBinary(@NotNull @NotNull Blob value)
-
match
public static boolean match(@NotNull @NotNull PropertyValue p1, @NotNull @NotNull PropertyState p2)
-
match
public static boolean match(@NotNull @NotNull PropertyState p1, @NotNull @NotNull PropertyValue p2)
-
match
public static boolean match(@NotNull @NotNull PropertyValue p1, @NotNull @NotNull PropertyValue p2)
-
notMatch
public static boolean notMatch(@NotNull @NotNull PropertyValue p1, @NotNull @NotNull PropertyValue p2)
-
-