Annotation Interface MyRole
Supported API: true
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionControls the accessibility and exceptions for generated accessor methods.The cardinality of this particular role.booleanIndicates whether deletes should cascade.A string representing theJavaDocto generate for this property.The name of this role.The supported nature of this property to be generated into your marvelousJavaDoc.
-
Element Details
-
name
String nameThe name of this role. Use the default value if you're constraining an existing association to retain its role name.Rose conversion note: Corresponds to Association Specification -> General -> Role A/B.
Supported API: true
- Default:
""
-
javaDoc
String javaDocA string representing theJavaDocto generate for this property. Leave blank only if you want to reuse the parent role'sJavaDoc.Rose conversion note: Corresponds to Association Specification -> Role A/B General -> Documentation.
Supported API: true
- See Also:
- Default:
""
-
supportedAPI
SupportedAPI supportedAPIThe supported nature of this property to be generated into your marvelousJavaDoc.Rose conversion note: Corresponds to Association Specification -> Windchill A/B -> SupportedAPI.
Supported API: true
- Default:
PRIVATE
-
cardinality
Cardinality cardinalityThe cardinality of this particular role. The default (Cardinality.DEFAULT) indicates that the parent role's multiplicity should be used (if no parent exists, defaults toCardinality.MANY).Rose conversion note: Corresponds to Association Specification -> Role A/B Detail -> Multiplicity.
Supported API: true
- Default:
DEFAULT
-
cascade
boolean cascadeIndicates whether deletes should cascade. If set totrue, the persistence layer will attempt to delete this object when the object it's referring to in this foreign key reference is deleted; if set tofalseand the object being referred to is successfully deleted, the reference will be nulled out.If unspecified, uses the parent's value or
falseif no parent.Rose conversion note: Corresponds to Association Specification -> Windchill A/B -> Cascade.
Supported API: true
- Default:
false
-
accessors
PropertyAccessors accessorsControls the accessibility and exceptions for generated accessor methods. If unspecified, uses parent's role or @PropertyAccessorsif no parent. This property corresponds to the accessors generated for the foreign key link class (resembling a binary link) that's automatically generated when a foreign key is generated; it does not correspond to the accessors generated on the persistable itself (seeForeignKeyRole).Rose conversion note: Corresponds to various properties found in Association Specification -> Windchill A/B.
Supported API: true
- Default:
@com.ptc.windchill.annotations.metadata.PropertyAccessors
-