Package org.faktorips.runtime.model.type
Class TypePart
- java.lang.Object
-
- org.faktorips.runtime.model.type.ModelElement
-
- org.faktorips.runtime.model.type.TypePart
-
- Direct Known Subclasses:
Association,Attribute,TableUsage,ValidationRule
public abstract class TypePart extends ModelElement
Abstract class for any part of aType.
-
-
Constructor Summary
Constructors Constructor Description TypePart(java.lang.String name, Type parent, IpsExtensionProperties extensionProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected MessagesHelpergetMessageHelper()protected java.lang.StringgetMessageKey(DocumentationKind messageType)TypegetModelType()Deprecated.UsegetType()TypegetType()Returns the parentTypeprotected java.lang.StringgetTypeName()Returns the name of the parent model type.-
Methods inherited from class org.faktorips.runtime.model.type.ModelElement
createMessageHelper, getDescription, getDocumentation, getExtensionPropertyIds, getExtensionPropertyValue, getLabel, getName, getRelevantProductObject, invokeField, invokeMethod, toString
-
-
-
-
Constructor Detail
-
TypePart
public TypePart(java.lang.String name, Type parent, IpsExtensionProperties extensionProperties)
-
-
Method Detail
-
getModelType
@Deprecated public Type getModelType()
Deprecated.UsegetType()Returns the parentType
-
getTypeName
protected java.lang.String getTypeName()
Returns the name of the parent model type.
-
getMessageKey
protected java.lang.String getMessageKey(DocumentationKind messageType)
- Specified by:
getMessageKeyin classModelElement
-
getMessageHelper
protected MessagesHelper getMessageHelper()
- Specified by:
getMessageHelperin classModelElement
-
-