com.fatwire.gst.foundation.properties
Interface Property


public interface Property

Data representing a property value

Since:
2011-09-02
Author:
Tony Field

Method Summary
 com.fatwire.assetapi.data.AssetId asAssetId()
          Returns the property as an asset ID.
 boolean asBoolean()
          Returns true if the value is set to TRUE or true.
 int asInt()
          Returns the property as an int
 long asLong()
          Retursn the property as a long.
 String asString()
          Returns the property value as a string
 String getDescription()
          The description of the property, for human informational purposes only
 String getName()
          The name of the property
 boolean isNull()
          Returns whether or not the property is set to null.
 

Method Detail

getName

String getName()
The name of the property


getDescription

String getDescription()
The description of the property, for human informational purposes only


isNull

boolean isNull()
Returns whether or not the property is set to null. Empty strings are not null.


asBoolean

boolean asBoolean()
Returns true if the value is set to TRUE or true. Not set or set to anything else returns false.


asString

String asString()
Returns the property value as a string


asLong

long asLong()
Retursn the property as a long.


asInt

int asInt()
Returns the property as an int


asAssetId

com.fatwire.assetapi.data.AssetId asAssetId()
Returns the property as an asset ID.



Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.