public class NameValue extends Object
Constructor and Description |
---|
NameValue(String name,
Object val)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getInteger(int low,
int high)
Check if the value is a valid integer within the specified range
|
long |
getLong(long low,
long high)
Check if the value is a valid long within the specified range
|
String |
getName()
Return the item name
|
Object |
getObject()
Return the object value
|
String |
getValue()
Return the item value
|
String |
toString()
Return the name/value pair as a string
|
public final String getName()
public final String getValue()
public final Object getObject()
public final int getInteger(int low, int high) throws NumberFormatException
low
- inthigh
- intNumberFormatException
public final long getLong(long low, long high) throws NumberFormatException
low
- longhigh
- longNumberFormatException
Copyright © 2005–2018 Alfresco Software. All rights reserved.