1 24 package javax.jcr; 25 26 import javax.jcr.nodetype.PropertyDef; 27 import java.io.InputStream ; 28 import java.util.Calendar ; 29 30 45 public interface Property extends Item { 46 47 61 public void setValue(Value value) throws ValueFormatException, RepositoryException; 62 63 78 public void setValue(Value[] values) throws ValueFormatException, RepositoryException; 79 80 90 public void setValue(String value) throws ValueFormatException, RepositoryException; 91 92 102 public void setValue(boolean value) throws ValueFormatException, RepositoryException; 103 104 114 public void setValue(long value) throws ValueFormatException, RepositoryException; 115 116 126 public void setValue(double value) throws ValueFormatException, RepositoryException; 127 128 138 public void setValue(InputStream value) throws ValueFormatException, RepositoryException; 139 140 150 public void setValue(Calendar value) throws ValueFormatException, RepositoryException; 151 152 161 public Value getValue() throws RepositoryException; 162 163 170 public Value[] getValues() throws RepositoryException; 171 172 180 public String getString(); 181 182 190 public double getDouble(); 191 192 200 public InputStream getStream(); 201 202 210 public Calendar getDate(); 211 212 220 public boolean getBoolean(); 221 222 230 public long getLong(); 231 232 243 public boolean hasValue(); 244 245 259 public long getLength(); 260 261 270 public PropertyDef getDefinition(); 271 } 272 | Popular Tags |