|
SMILA API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Any
Interface for object used instead of MObject.
| Nested Class Summary | |
|---|---|
static class |
Any.ValueType
Enumeration with the possible value types. |
| Method Summary | |
|---|---|
AnyMap |
asMap()
returns this Any as an AnyMap object or throws an InvalidValueTypeException. |
AnySeq |
asSeq()
returns this Any as an AnySeq object or throws an InvalidValueTypeException. |
Value |
asValue()
returns this Any as an Value object or throws an InvalidValueTypeException. |
DataFactory |
getFactory()
|
Any.ValueType |
getValueType()
|
boolean |
isBoolean()
|
boolean |
isDate()
|
boolean |
isDateTime()
|
boolean |
isDouble()
|
boolean |
isEmpty()
|
boolean |
isLong()
|
boolean |
isMap()
|
boolean |
isNumber()
|
boolean |
isSeq()
|
boolean |
isString()
|
boolean |
isValue()
|
java.util.Iterator<Any> |
iterator()
|
int |
size()
|
| Method Detail |
|---|
Any.ValueType getValueType()
boolean isMap()
boolean isSeq()
boolean isValue()
boolean isString()
boolean isDouble()
boolean isBoolean()
boolean isLong()
boolean isDate()
boolean isDateTime()
boolean isNumber()
DataFactory getFactory()
java.util.Iterator<Any> iterator()
iterator in interface java.lang.Iterable<Any>Value, this return an iterator about the value itself. For
AnyMap it returns an iterator on the values.boolean isEmpty()
Value: returns always false.int size()
Value this is always 1.Value asValue()
Value object or throws an InvalidValueTypeException.
AnyMap asMap()
AnyMap object or throws an InvalidValueTypeException.
AnySeq asSeq()
AnySeq object or throws an InvalidValueTypeException.
|
SMILA API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||