static com.entwinemedia.fn.Pred<Property> |
Properties.byFqnName(PropertyName name) |
Create a predicate to query a property by its full qualified name which is the tuple of namespace and name.
|
static com.entwinemedia.fn.Fn<com.entwinemedia.fn.data.Opt<Property>,Property> |
Properties.get(PropertyName name) |
Apply #get() to the given Opt or throw a RuntimeException if none.
|
static com.entwinemedia.fn.StreamFold<Property,Boolean> |
Properties.getBoolean(PropertyName name) |
Get a boolean value.
|
static com.entwinemedia.fn.StreamFold<Property,Date> |
Properties.getDate(PropertyName name) |
Get a date value.
|
static com.entwinemedia.fn.StreamFold<Property,com.entwinemedia.fn.data.Opt<Date>> |
Properties.getDateOpt(PropertyName name) |
Get a date value.
|
static com.entwinemedia.fn.StreamFold<Property,Long> |
Properties.getLong(PropertyName name) |
Get a long value.
|
static com.entwinemedia.fn.StreamFold<Property,com.entwinemedia.fn.data.Opt<Long>> |
Properties.getLongOpt(PropertyName name) |
Get a long value.
|
static com.entwinemedia.fn.StreamFold<Property,String> |
Properties.getString(PropertyName name) |
Get a string value.
|
static com.entwinemedia.fn.StreamFold<Property,com.entwinemedia.fn.data.Opt<String>> |
Properties.getStringOpt(PropertyName name) |
Get a string value.
|
static com.entwinemedia.fn.StreamOp<Property,String> |
Properties.getStrings(PropertyName name) |
Get string values from all properties.
|
static <A> com.entwinemedia.fn.StreamFold<Property,A> |
Properties.getValue(Value.ValueType<A> ev,
PropertyName name) |
Create a stream fold to find the first property whose
full qualified name matches the given one
and extract its value.
|
static <A> com.entwinemedia.fn.StreamFold<Property,com.entwinemedia.fn.data.Opt<A>> |
Properties.getValueOpt(Value.ValueType<A> ev,
PropertyName name) |
Create a stream fold to find the first property whose
full qualified name matches the given one
and extract their values, wrapped in an Opt.
|