public static class YComposedType.YModelConstructor extends YNameSpaceElement
| Constructor and Description |
|---|
YModelConstructor(YComposedType yComposedType,
ModelTagListener.ModelDataConstructor signature,
YNamespace container) |
| Modifier and Type | Method and Description |
|---|---|
List<YAttributeDescriptor> |
getConstructorParameters() |
String |
getLocationOfDefinition() |
boolean |
hasSameAttributeQualifier(YComposedType.YModelConstructor cosntructor)
Returns
true if the given YModelConstructor constructor has the same attribute qualifiers (names)
as this one. |
boolean |
hasSameSignature(YComposedType.YModelConstructor constructor)
Returns
true if the given YModelConstructor constructor has the same used attribute types in the
same order as the current one. |
String |
toString()
returns the constructor signature with the composedtype and each attribute qualifier and the attribute type
|
getLoaderInfo, getNamespace, getTypeSystem, resetCaches, setLoaderInfo, validatepublic YModelConstructor(YComposedType yComposedType, ModelTagListener.ModelDataConstructor signature, YNamespace container)
public boolean hasSameSignature(YComposedType.YModelConstructor constructor)
true if the given YModelConstructor constructor has the same used attribute types in the
same order as the current one. This will lead to a compile error!constructor - another YModelConstructorfalse if they are different.public boolean hasSameAttributeQualifier(YComposedType.YModelConstructor cosntructor)
true if the given YModelConstructor constructor has the same attribute qualifiers (names)
as this one.cosntructor - another YModelConstructorfalse if they are different.public String toString()
toString in class YNameSpaceElementpublic String getLocationOfDefinition()
public List<YAttributeDescriptor> getConstructorParameters()
Copyright © 2017 SAP SE. All Rights Reserved.