Type directly. Will be removed in Faktor-IPS 3.20+@Deprecated public interface IModelType extends IModelElement
IModelType represents a type of Faktor-IPS. It provides all meta data for the type as
well as for properties like attributes or associations.| Modifier and Type | Method and Description |
|---|---|
IModelTypeAssociation |
getAssociation(String name)
Deprecated.
Returns the association with the given
name declared in this type or one of it's
super types. |
List<? extends IModelTypeAssociation> |
getAssociations()
Deprecated.
Returns the type's associations including those defined in it's super types.
|
IModelTypeAttribute |
getAttribute(String name)
Deprecated.
Returns the attribute with the given
name declared in this type or one of it's
super types. |
List<? extends IModelTypeAttribute> |
getAttributes()
Deprecated.
Returns a list containing the type's attributes including those defined in the type's super
types.
|
IModelTypeAssociation |
getDeclaredAssociation(int index)
Deprecated.
Returns the association at the given
index. |
IModelTypeAssociation |
getDeclaredAssociation(String name)
Deprecated.
Returns the association with the given
name declared in this type. |
List<? extends IModelTypeAssociation> |
getDeclaredAssociations()
Deprecated.
Returns a list containing all associations declared in this model type.
|
IModelTypeAttribute |
getDeclaredAttribute(int index)
Deprecated.
Returns the declared attribute at the given
index. |
IModelTypeAttribute |
getDeclaredAttribute(String name)
Deprecated.
Returns the attribute with the given
name declared in this type. |
List<? extends IModelTypeAttribute> |
getDeclaredAttributes()
Deprecated.
Returns a list containing all attributes declared in this model type.
|
Class<?> |
getJavaClass()
Deprecated.
Returns the Java class for this type.
|
Class<?> |
getJavaInterface()
Deprecated.
Returns the published interface for this type.
|
IModelType |
getSuperType()
Deprecated.
Returns this model type's super type or
null if it has none. |
getDescription, getExtensionPropertyIds, getExtensionPropertyValue, getLabel, getNameClass<?> getJavaClass()
Class<?> getJavaInterface()
null if published
interfaces are not generated.IModelType getSuperType()
null if it has none.List<? extends IModelTypeAttribute> getDeclaredAttributes()
List<? extends IModelTypeAttribute> getAttributes()
IModelTypeAttribute getDeclaredAttribute(int index)
index.IndexOutOfBoundsException - if no attribute exists for the given index.IModelTypeAttribute getDeclaredAttribute(String name)
name declared in this type. Attributes
defined in the type's super types are not returned.IllegalArgumentException - if no attribute with the given name exists.IModelTypeAttribute getAttribute(String name)
name declared in this type or one of it's
super types.IllegalArgumentException - if no attribute with the given name exists.List<? extends IModelTypeAssociation> getDeclaredAssociations()
List<? extends IModelTypeAssociation> getAssociations()
IModelTypeAssociation getDeclaredAssociation(int index)
index. Associations defined in the type's
super types are not returned.IndexOutOfBoundsException - if no association exists for the given index.IModelTypeAssociation getDeclaredAssociation(String name)
name declared in this type. Associations
defined in the type's super types are not considered. The name could either be the singular
or the plural name.IllegalArgumentException - if no association with the given name exists.IModelTypeAssociation getAssociation(String name)
name declared in this type or one of it's
super types. The name could either be the singular or the plural name.IllegalArgumentException - if no association with the given name exists.Copyright © 2016. All rights reserved.