com.hp.hpl.jena.sdb.store
Class Feature

java.lang.Object
  extended by org.openjena.atlas.io.PrintableBase
      extended by com.hp.hpl.jena.sdb.store.Feature
All Implemented Interfaces:
com.hp.hpl.jena.sparql.util.Named, org.openjena.atlas.io.Printable

public class Feature
extends org.openjena.atlas.io.PrintableBase
implements com.hp.hpl.jena.sparql.util.Named, org.openjena.atlas.io.Printable

A Feature is a name/value pair


Nested Class Summary
static class Feature.Name
           
 
Constructor Summary
Feature(Feature.Name name, long value)
           
Feature(Feature.Name name, String value)
           
 
Method Summary
 boolean equals(Object other)
           
 long getAsInteger()
           
 Object getAsObject()
           
 String getAsString()
           
 String getName()
           
 int hashCode()
           
 void output(org.openjena.atlas.io.IndentedWriter out)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Feature

public Feature(Feature.Name name,
               String value)

Feature

public Feature(Feature.Name name,
               long value)
Method Detail

getAsObject

public Object getAsObject()

getAsString

public String getAsString()

getAsInteger

public long getAsInteger()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

getName

public String getName()
Specified by:
getName in interface com.hp.hpl.jena.sparql.util.Named

output

public void output(org.openjena.atlas.io.IndentedWriter out)
Specified by:
output in interface org.openjena.atlas.io.Printable

toString

public String toString()
Overrides:
toString in class org.openjena.atlas.io.PrintableBase


Copyright ? 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Epimorphics Ltd.