|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.core.storage.sql.coremodel.SQLBaseProperty
public abstract class SQLBaseProperty
Field Summary | |
---|---|
static String |
DC_ISSUED
|
static String |
RELATED_TEXT_RESOURCES
|
Constructor Summary | |
---|---|
SQLBaseProperty(Type type,
String name,
boolean readonly)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.nuxeo.ecm.core.model.Property |
---|
getName, getValue, setValue |
Field Detail |
---|
public static final String DC_ISSUED
public static final String RELATED_TEXT_RESOURCES
Constructor Detail |
---|
public SQLBaseProperty(Type type, String name, boolean readonly)
Method Detail |
---|
public static boolean isSpecialSystemProperty(String name)
public void checkWritable() throws DocumentException
DocumentException
public Type getType()
Property
getType
in interface Property
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
isNull
in interface Property
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 name
DocumentException
public Collection<Property> getProperties() throws DocumentException
Property
getProperties
in interface Property
DocumentException
public Iterator<Property> getPropertyIterator() throws DocumentException
Property
getPropertyIterator
in interface Property
DocumentException
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |