## org.das2.catalog.DasProp

Properties retrieved from a das catalog node, a wrapper around Object. DasNodes can have properties of different types. Since Java reflection provides methods for determining the actual return type of a property pulled from a catalog node, introducing a property type seems on it's face to be an unnecessary complication. However to avoid having a completely open ended interface that can return just any type of object this class exists to put boundaries around the value types an application program will have to deal with when reading from a das catalog. Without this class, constructs like the following would be common in application code: String sFragment = "interface/data/efield/units"; Object obj = node.prop(sFragment, Map.class); Map map = (Map)obj; Instead this becomes: Map map = node.prop("interface/data/efield/units").map();

## DasProp( Object item )

Wrap a raw object and give it a type. This constructor does not handle parsing of string objects to some other type. To parse strings use the two-parameter constructor.

## NULL

## BOOL

## STR

## INT

## DATUM

## TIME

## LIST

## MAP

list( ) → java.util.List [view source]
map( ) → java.util.Map [view source]
map( String sKey ) → org.das2.catalog.DasProp [view source]
str( ) → String [view source]
time( ) → java.time.ZonedDateTime [view source]