1 24 package javax.jcr; 25 26 import java.io.InputStream ; 27 import java.util.Calendar ; 28 29 36 public interface Value { 37 38 55 public int getType(); 56 57 71 public String getString() throws ValueFormatException, IllegalStateException , RepositoryException; 72 73 87 public double getDouble() throws ValueFormatException, IllegalStateException , RepositoryException; 88 89 107 public InputStream getStream() throws ValueFormatException, IllegalStateException , RepositoryException; 108 109 123 public Calendar getDate() throws ValueFormatException, IllegalStateException , RepositoryException; 124 125 139 public long getLong() throws ValueFormatException, IllegalStateException , RepositoryException; 140 141 156 public boolean getBoolean() throws ValueFormatException, IllegalStateException , RepositoryException; 157 } | Popular Tags |