|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.infoway.messagebuilder.xml.MessagePart
public class MessagePart
A message part. An example message part might be represent the type "MCCI_MT700751CA.ControlActEvent".
Constructor Summary | |
---|---|
MessagePart()
Default constructor. |
|
MessagePart(String name)
Default constructor. |
Method Summary | |
---|---|
void |
addDifference(Difference difference)
|
static MessagePart |
createAbstractPart(String name)
Factory method for creating an abstract message part. |
List<Difference> |
getDifferences()
Records the differences between message parts of different release versions during regen. |
Documentation |
getDocumentation()
Get the documentation. |
String |
getName()
Get the name. |
Relationship |
getRelationship(String name)
Get a specific relationship by name. |
Relationship |
getRelationship(String name,
Interaction interaction)
Get a specific relationship by name. |
List<Relationship> |
getRelationships()
Get the list of relationships. |
RimClass |
getRimClass()
|
List<String> |
getSpecializationChilds()
Get the list of names of the child types. |
boolean |
isAbstract()
Get the abstractness. |
void |
setAbstract(boolean isAbstract)
Set the abstractness. |
void |
setDifferences(List<Difference> differences)
|
void |
setDocumentation(Documentation documentation)
Set the documentation. |
void |
setName(String name)
Set the name. |
void |
setRelationships(List<Relationship> relationships)
Set the list of relationships. |
void |
setRimClass(RimClass rimClass)
|
void |
setSpecializationChilds(List<String> specializationChilds)
Set the list of child types. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessagePart()
Default constructor.
public MessagePart(String name)
Default constructor.
name
- - the part type nameMethod Detail |
---|
public String getName()
getName
in interface Named
public void setName(String name)
Set the name.
name
- - the new namepublic Documentation getDocumentation()
Get the documentation.
getDocumentation
in interface Documentable
public void setDocumentation(Documentation documentation)
Set the documentation.
setDocumentation
in interface Documentable
documentation
- - the new documentation valuepublic List<Relationship> getRelationships()
Get the list of relationships.
public void setRelationships(List<Relationship> relationships)
Set the list of relationships.
relationships
- - the new valuepublic boolean isAbstract()
Get the abstractness.
public void setAbstract(boolean isAbstract)
Set the abstractness.
isAbstract
- - the new abstractness valuepublic static MessagePart createAbstractPart(String name)
Factory method for creating an abstract message part.
name
- - the type name of the message part
public List<String> getSpecializationChilds()
Get the list of names of the child types.
public void setSpecializationChilds(List<String> specializationChilds)
Set the list of child types.
specializationChilds
- - the new child typespublic Relationship getRelationship(String name)
Get a specific relationship by name.
name
- - the name of the relationship
public Relationship getRelationship(String name, Interaction interaction)
Get a specific relationship by name.
name
- - the name of the relationshipinteraction
- - the interaction (used to resolve names of template parameters) or null
public List<Difference> getDifferences()
getDifferences
in interface HasDifferences
public void setDifferences(List<Difference> differences)
public void addDifference(Difference difference)
addDifference
in interface HasDifferences
public RimClass getRimClass()
public void setRimClass(RimClass rimClass)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |