public abstract class SQLBaseProperty extends Object implements Property
| Modifier and Type | Field and Description |
|---|---|
static String |
DC_ISSUED |
static String |
RELATED_TEXT_RESOURCES |
| Constructor and Description |
|---|
SQLBaseProperty(Type type,
String name,
boolean readonly) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkWritable() |
Collection<Property> |
getProperties()
Gets the collection of the children properties.
|
Property |
getProperty(String name)
Gets the children property given its name.
|
Iterator<Property> |
getPropertyIterator()
Gets an iterator over the children properties.
|
Type |
getType()
Gets the property type.
|
boolean |
isNull()
Tests whether or not this property is null.
|
boolean |
isPropertySet(String name)
Checks whether this property has child property with the given name.
|
static boolean |
isSpecialSystemProperty(String name) |
void |
setNull()
Nullify this property.
|
public static final String DC_ISSUED
public static final String RELATED_TEXT_RESOURCES
public static boolean isSpecialSystemProperty(String name)
public void checkWritable()
throws DocumentException
DocumentExceptionpublic boolean isNull()
PropertyA null property means that it is defined by the container schema but was not yet set (so it may not exists as a persistent object)
If the property is null the first time a write operation is done on it the property will be created by the underlying storage
public void setNull()
throws DocumentException
PropertyThe property is set to null which may result in being removed from the storage (this aspect depends on the implementation)
setNull in interface PropertyDocumentExceptionpublic boolean isPropertySet(String name) throws DocumentException
PropertyisPropertySet in interface PropertyDocumentExceptionpublic Property getProperty(String name) throws DocumentException
PropertygetProperty in interface Propertyname - the property nameDocumentExceptionpublic Collection<Property> getProperties() throws DocumentException
PropertygetProperties in interface PropertyDocumentExceptionpublic Iterator<Property> getPropertyIterator() throws DocumentException
PropertygetPropertyIterator in interface PropertyDocumentExceptionCopyright © 2012 Nuxeo SA. All Rights Reserved.