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
DocumentException
public boolean isNull()
Property
A 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
Property
The property is set to null which may result in being removed from the storage (this aspect depends on the implementation)
setNull
in interface Property
DocumentException
public boolean isPropertySet(String name) throws DocumentException
Property
isPropertySet
in interface Property
DocumentException
public Property getProperty(String name) throws DocumentException
Property
getProperty
in interface Property
name
- the property nameDocumentException
public Collection<Property> getProperties() throws DocumentException
Property
getProperties
in interface Property
DocumentException
public Iterator<Property> getPropertyIterator() throws DocumentException
Property
getPropertyIterator
in interface Property
DocumentException
Copyright © 2011 Nuxeo SA. All Rights Reserved.