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
Abstract class for any part of a
Type.-
Constructor Summary
ConstructorsConstructorDescriptionTypePart(String name, Type parent, IpsExtensionProperties extensionProperties, Optional<Deprecation> deprecation) -
Method Summary
Modifier and TypeMethodDescriptionprotected MessagesHelperprotected StringgetMessageKey(DocumentationKind messageType) Deprecated.getType()Returns the parentTypeprotected StringReturns the name of the parent model type.Methods inherited from class org.faktorips.runtime.model.type.ModelElement
createMessageHelper, getDeprecation, getDescription, getDocumentation, getExtensionPropertyIds, getExtensionPropertyValue, getLabel, getName, getRelevantProductObject, invokeField, invokeMethod, isDeprecated, toString
-
Constructor Details
-
TypePart
public TypePart(String name, Type parent, IpsExtensionProperties extensionProperties, Optional<Deprecation> deprecation)
-
-
Method Details
-
getType
Returns the parentType -
getModelType
Deprecated.UsegetType()Returns the parentType -
getTypeName
Returns the name of the parent model type. -
getMessageKey
- Specified by:
getMessageKeyin classModelElement
-
getMessageHelper
- Specified by:
getMessageHelperin classModelElement
-
getType()