public class PropertyInfoDelegate extends Object implements IPropertyInfoDelegate
IAttributedFeatureInfo.MODIFIERIAnnotatedFeatureInfo.IAnnotationInfoHelperANNOTATION_HELPER| Constructor and Description |
|---|
PropertyInfoDelegate(IFeatureInfo container,
IPropertyInfo source) |
PropertyInfoDelegate(IFeatureInfo container,
IPropertyInfo source,
String name) |
| Modifier and Type | Method and Description |
|---|---|
IPropertyAccessor |
getAccessor() |
IAnnotationInfo |
getAnnotation(IType type) |
List<IAnnotationInfo> |
getAnnotations() |
List<IAnnotationInfo> |
getAnnotationsOfType(IType type) |
IFeatureInfo |
getContainer()
Get this feature's containing feature.
|
List<IAnnotationInfo> |
getDeclaredAnnotations() |
IPropertyInfo |
getDelegatePI() |
String |
getDeprecatedReason() |
String |
getDescription()
A full description of this feature.
|
String |
getDisplayName()
Gets the display name of this feature.
|
IType |
getFeatureType()
The type of this feature e.g., for a property this is the property's type.
|
String |
getName()
Gets the programmatic name or identifier of this feature.
|
IType |
getOwnersType()
Get this feature's owner's type.
|
IPresentationInfo |
getPresentationInfo() |
IPropertyInfo |
getSource() |
boolean |
hasAnnotation(IType type) |
boolean |
hasDeclaredAnnotation(IType type) |
boolean |
isAbstract() |
boolean |
isDefaultImpl() |
boolean |
isDeprecated() |
boolean |
isFinal() |
boolean |
isHidden()
True if this feature is hidden.
|
boolean |
isInternal()
True if this feature is internal.
|
boolean |
isPrivate()
True if this feature is private.
|
boolean |
isProtected()
True if this feature is protected.
|
boolean |
isPublic()
True if this feature is public.
|
boolean |
isReadable() |
boolean |
isScriptable()
True if this feature is exposed for scripting.
|
boolean |
isStatic()
True if this feature is static, meaning the feature is not specific to a
particular instance of the feature's containing type.
|
boolean |
isVisible(IScriptabilityModifier constraint)
Determine if this feature is visible given a visibility constraint.
|
boolean |
isWritable() |
boolean |
isWritable(IType whosAskin) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisReadableisReifiedgetLocationInfogetAssignableFeatureTypepublic PropertyInfoDelegate(IFeatureInfo container, IPropertyInfo source)
public PropertyInfoDelegate(IFeatureInfo container, IPropertyInfo source, String name)
public IType getFeatureType()
IIntrinsicTypeReferencegetFeatureType in interface IIntrinsicTypeReferencepublic boolean isReadable()
isReadable in interface IPropertyInfopublic boolean isWritable(IType whosAskin)
isWritable in interface IPropertyInfowhosAskin - The type querying the property writability. For example, passing in the type the property is on will
allow properties that have private access in the setter to be written to. Passing in an unrelated type will only
allow properties that are to be written to.public boolean isWritable()
isWritable in interface IPropertyInfopublic boolean isStatic()
IAttributedFeatureInfoisStatic in interface IAttributedFeatureInfopublic IPropertyAccessor getAccessor()
getAccessor in interface IPropertyInfopublic IPresentationInfo getPresentationInfo()
getPresentationInfo in interface IPropertyInfopublic String getName()
IFeatureInfogetName in interface IFeatureInfopublic String getDisplayName()
IFeatureInfogetDisplayName in interface IFeatureInfopublic String getDescription()
IFeatureInfogetDescription in interface IFeatureInfopublic boolean isHidden()
IAttributedFeatureInfoisHidden in interface IAttributedFeatureInfopublic boolean isDeprecated()
isDeprecated in interface IAnnotatedFeatureInfopublic String getDeprecatedReason()
getDeprecatedReason in interface IAnnotatedFeatureInfopublic boolean isDefaultImpl()
isDefaultImpl in interface IAnnotatedFeatureInfopublic IFeatureInfo getContainer()
IFeatureInfogetContainer in interface IFeatureInfopublic IType getOwnersType()
IFeatureInfogetOwnersType in interface IFeatureInfopublic List<IAnnotationInfo> getAnnotationsOfType(IType type)
getAnnotationsOfType in interface IAnnotatedFeatureInfopublic boolean hasAnnotation(IType type)
hasAnnotation in interface IAnnotatedFeatureInfotype - The type of the annotation to test for existence.public List<IAnnotationInfo> getAnnotations()
getAnnotations in interface IAnnotatedFeatureInfopublic boolean isVisible(IScriptabilityModifier constraint)
IAttributedFeatureInfoNOTE: implementers of this method are responsible for handling the null case, taken to mean that there are not scriptability constraints.
isVisible in interface IAttributedFeatureInfopublic boolean isScriptable()
IAttributedFeatureInfoisScriptable in interface IAttributedFeatureInfopublic boolean isAbstract()
isAbstract in interface IAttributedFeatureInfopublic boolean isFinal()
isFinal in interface IAttributedFeatureInfopublic IPropertyInfo getSource()
getSource in interface IFeatureInfoDelegategetSource in interface IPropertyInfoDelegatepublic List<IAnnotationInfo> getDeclaredAnnotations()
getDeclaredAnnotations in interface IAnnotatedFeatureInfopublic IAnnotationInfo getAnnotation(IType type)
getAnnotation in interface IAnnotatedFeatureInfopublic boolean hasDeclaredAnnotation(IType type)
hasDeclaredAnnotation in interface IAnnotatedFeatureInfotype - The type of the annotation to test for existence.public boolean isInternal()
IAttributedFeatureInfoisInternal in interface IAttributedFeatureInfopublic boolean isPrivate()
IAttributedFeatureInfoisPrivate in interface IAttributedFeatureInfopublic boolean isProtected()
IAttributedFeatureInfoisProtected in interface IAttributedFeatureInfopublic boolean isPublic()
IAttributedFeatureInfoisPublic in interface IAttributedFeatureInfopublic IPropertyInfo getDelegatePI()
Copyright © 2022. All rights reserved.