Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.service.cmr.dictionary
Interface AssociationDefinition
All Superinterfaces:
ClassAttributeDefinition
All Known Subinterfaces:
ChildAssociationDefinition

public interface AssociationDefinition
extends ClassAttributeDefinition
Read-only definition of an Association.
Author:
David Caruana

Method Summary
getDescription()
          Deprecated. The problem identified in MNT-413 will still exist
getDescription(MessageLookup messageLookup)
getModel()
getName()
getSourceClass()
getSourceRoleName()
getTargetClass()
getTargetRoleName()
getTitle()
          Deprecated. The problem identified in MNT-413 will still exist
getTitle(MessageLookup messageLookup)
boolean
isChild()
          Is this a child association?
boolean
isProtected()
          Is this association maintained by the Repository?
boolean
isSourceMandatory()
          Is the source class optional in this association?
boolean
isSourceMany()
          Can there be many source class instances in this association?
boolean
isTargetMandatory()
          Is the target class optional in this association?
boolean
isTargetMandatoryEnforced()
          Is the target class is mandatory, it is enforced?
boolean
isTargetMany()
          Can there be many target class instances in this association?
Method Detail
getModel
ModelDefinition getModel()
Specified by:
getModel in interface ClassAttributeDefinition
Returns:
defining model

getName
QName getName()
Specified by:
getName in interface ClassAttributeDefinition
Returns:
the qualified name

getTitle
String getTitle()
Deprecated. The problem identified in MNT-413 will still exist
See Also:
getTitle(org.alfresco.service.cmr.i18n.MessageLookup)

getDescription
String getDescription()
Deprecated. The problem identified in MNT-413 will still exist
See Also:
getDescription(org.alfresco.service.cmr.i18n.MessageLookup)

getTitle
String getTitle(MessageLookup messageLookup)
Specified by:
getTitle in interface ClassAttributeDefinition
Returns:
the human-readable title

getDescription
String getDescription(MessageLookup messageLookup)
Specified by:
getDescription in interface ClassAttributeDefinition
Returns:
the human-readable description

isChild
boolean isChild()
Is this a child association?
Returns:
true => child, false => general relationship

isProtected
boolean isProtected()
Is this association maintained by the Repository?
Specified by:
isProtected in interface ClassAttributeDefinition
Returns:
true => system maintained, false => client may maintain

getSourceClass
ClassDefinition getSourceClass()
Returns:
the source class

getSourceRoleName
QName getSourceRoleName()
Returns:
the role of the source class in this association?

isSourceMandatory
boolean isSourceMandatory()
Is the source class optional in this association?
Returns:
true => cardinality > 0

isSourceMany
boolean isSourceMany()
Can there be many source class instances in this association?
Returns:
true => cardinality > 1, false => cardinality of 0 or 1

getTargetClass
ClassDefinition getTargetClass()
Returns:
the target class

getTargetRoleName
QName getTargetRoleName()
Returns:
the role of the target class in this association?

isTargetMandatory
boolean isTargetMandatory()
Is the target class optional in this association?
Returns:
true => cardinality > 0

isTargetMandatoryEnforced
boolean isTargetMandatoryEnforced()
Is the target class is mandatory, it is enforced?
Returns:
true => enforced

isTargetMany
boolean isTargetMany()
Can there be many target class instances in this association?
Returns:
true => cardinality > 1, false => cardinality of 0 or 1

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2016 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.