mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Added sys:incomplete aspect.
Extended <mandatory> definition in the DD. The "mandatory" properties in our system have, until now, been optional, i.e. the integrity has not been enforced. It is possible to have <mandatory enforced="true">true</mandatory>, which means "mandatory and enforced", but <mandatory enforced="false">true</mandatory>, which means "mandatory but not enforced". Our system properties have been marked as "mandatory". Dublin core has had the properties marked as "required". Currently, if the Dublin Core is added, the node is tagged with sys:incomplete. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2562 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -72,6 +72,13 @@ public interface PropertyDefinition
|
||||
*/
|
||||
public boolean isMandatory();
|
||||
|
||||
/**
|
||||
* @return Returns true if the system enforces the presence of
|
||||
* {@link #isMandatory() mandatory} properties, or false if the system
|
||||
* just marks objects that don't have all mandatory properties present.
|
||||
*/
|
||||
public boolean isMandatoryEnforced();
|
||||
|
||||
/**
|
||||
* @return true => system maintained, false => client may maintain
|
||||
*/
|
||||
|
Reference in New Issue
Block a user