public class MCitemRelationship
extends java.lang.Object
Constructor and Description |
---|
MCitemRelationship(MCrelationshipType relationshipType,
MCcontentItem target)
Creates a new instance of MCitemRelationship.
|
Modifier and Type | Method and Description |
---|---|
MCrelationshipType |
getRelationshipType()
Gets the relationship type.
|
MCcontentItem |
getTargetItem()
Gets the target content item.
|
void |
setRelationshipType(MCrelationshipType relationshipType)
Sets the relationship type.
|
void |
setTargetItem(MCcontentItem target)
Sets the target content item.
|
public MCitemRelationship(MCrelationshipType relationshipType, MCcontentItem target)
relationshipType
- Type of relationship.target
- Target content item.public MCrelationshipType getRelationshipType()
public void setRelationshipType(MCrelationshipType relationshipType)
relationshipType
- The relationship type.public MCcontentItem getTargetItem()
public void setTargetItem(MCcontentItem target)
target
- The target content item.