Java interface for Agentry Data API properties.
public interface AgentryProperty implements AgentryData
All members of AgentryProperty, including inherited members.
MethodsModifier and Type | Method | Description |
---|---|---|
public boolean | asBoolean() | Returns this property's value as a boolean. |
public GregorianCalendar | asDate() | Returns this property's date value as a GregorianCalendar. |
public GregorianCalendar | asDateAndTime() | Returns this property's date and time value as a GregorianCalendar. |
public double | asDouble() | Returns this property's value as a double. |
public AgentryLocation | asLocation() | Returns this property's value as an AgentryLocation. |
public long | asLong() | Returns this property's value as a long. |
public String | asString() | Returns this property's value as a String. |
public GregorianCalendar | asTime() | Returns this property's time value as a GregorianCalendar. |
public PropertyType | getPropertyType() | Returns the property type of this AgentryProperty. |
Modifier and Type | Member | Description |
---|---|---|
public void | dispose() | Dispose of this AgentryData object. |
public AgentryData | getAncestor() | Returns the parent AgentryData for this AgentryData. |
public DataType | getDataType() | Returns the data type of this AgentryData. |
public AgentryData | getDescendant(int) | Returns a child of this AgentryData. |
public int | getDescendantCount() | Returns the number of children of this AgentryData. |
public String | getDisplayName() | Returns the display name of this AgentryData. |
public int | getIdentifier() | Deprecated. This method will be removed in SMP 3.0 SP 03. Returns a type identifier for this AgentryData. |
public String | getName() | Returns the internal name of this AgentryData. |
public List< AgentryProperty > | getProperties() | Returns a list of all children which have the Property data type. |
public AgentryData | getRoot() | Returns the root AgentryData for the module this AgentryData belongs to. |
public boolean | isValid() | Check if this AgentryData object is valid. |