Class JSPropertyImpl<T extends JSValue>
- java.lang.Object
-
- org.bedework.jsforj.impl.properties.JSPropertyImpl<T>
-
- All Implemented Interfaces:
JSProperty<T>
public class JSPropertyImpl<T extends JSValue> extends Object implements JSProperty<T>
User: mike Date: 10/23/19 Time: 23:36
-
-
Constructor Summary
Constructors Constructor Description JSPropertyImpl(String name, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JSProperty<T>copy()booleanequals(Object o)StringgetName()StringgetType()TgetValue()Returns values as Objects - all int and boolean values will be returned as the corresponding object class.
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceJSProperty<T extends JSValue>- Returns:
- String name of the property
-
getType
public String getType()
- Specified by:
getTypein interfaceJSProperty<T extends JSValue>- Returns:
- the type of the value
-
getValue
public T getValue()
Description copied from interface:JSPropertyReturns values as Objects - all int and boolean values will be returned as the corresponding object class.- Specified by:
getValuein interfaceJSProperty<T extends JSValue>- Returns:
- the value of the property
-
copy
public JSProperty<T> copy()
- Specified by:
copyin interfaceJSProperty<T extends JSValue>
-
-