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

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

public class Feature
extends PrintableBase
implements Named, 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(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 Named

output

public void output(IndentedWriter out)
Specified by:
output in interface Printable

toString

public String toString()
Overrides:
toString in class PrintableBase


Licenced under the Apache License, Version 2.0