com.cafesoft.cams.attr
Interface AttributeValue

All Superinterfaces:
Evaluatable
All Known Implementing Classes:
AbstractAttributeValue

public interface AttributeValue
extends Evaluatable

AttributeValue defines the interface for entities representing a typed value.

Since:
4/16/2004

Method Summary
 String encode()
          Encode the value as a String.
 URI getType()
          Get the type of this attribute value.
 boolean isBag()
          Returns whether or not this value is actually a bag of values.
 
Methods inherited from interface com.cafesoft.cams.attr.Evaluatable
evaluate, evaluatesToBag
 

Method Detail

getType

public URI getType()
Get the type of this attribute value.

Specified by:
getType in interface Evaluatable
Returns:
the attribute's type

isBag

public boolean isBag()
Returns whether or not this value is actually a bag of values.

Returns:
true if this is a bag of values, false otherwise

encode

public String encode()
Encode the value as a String.

Returns:
a String form of the value


Generated on 8:41:50 AM June 06, 2005, © 1996-2005 Cafésoft LLC. All rights reserved.