Interface NamesOwner
- All Known Implementing Classes:
ClassModel,FieldModel
public interface NamesOwner
Contract for model elements that expose an ElementNames object.
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the conceptual name.default StringReturns the name.getNames()Returns the names.default StringReturns the technical name.default booleanChecks whether this object has a technical name.default voidsetConceptualName(String name) Sets the conceptual name.default voidSets the name.default voidSets the name.default voidSets the name.voidSets the names.default voidsetTechnicalName(String name) Sets the technical name.
-
Method Details
-
getConceptualName
Returns the conceptual name.- Returns:
- the conceptual name
-
getName
Returns the name.- Parameters:
panelType- diagram panel type whose model or layout should be used- Returns:
- the name
-
getNames
ElementNames getNames()Returns the names.- Returns:
- the names
-
getTechnicalName
Returns the technical name.- Returns:
- the technical name
-
hasTechnicalName
default boolean hasTechnicalName()Checks whether this object has a technical name.- Returns:
trueif technical name exists; otherwisefalse
-
setConceptualName
Sets the conceptual name.- Parameters:
name- name value to read, write, or display
-
setName
Sets the name.- Parameters:
forceTechnical- whether force technical is enabledname- name value to read, write, or display
-
setName
Sets the name.- Parameters:
panelType- diagram panel type whose model or layout should be usedname- name value to read, write, or display
-
setName
Sets the name.- Parameters:
panelType- diagram panel type whose model or layout should be usedmaybeTechnical- whether maybe technical is enabledname- name value to read, write, or display
-
setTechnicalName
Sets the technical name.- Parameters:
name- name value to read, write, or display
-