public class DisplayAttribute extends Attribute
.NET documentation at https://learn.microsoft.com/dotnet/api/System.ComponentModel.DataAnnotations.DisplayAttribute
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.ComponentModel.Annotations, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.ComponentModel.Annotations
|
static java.lang.String |
className
Qualified class name: System.ComponentModel.DataAnnotations.DisplayAttribute
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DisplayAttribute()
Initializes a new instance by invoking the .NET constructor.
|
DisplayAttribute(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static DisplayAttribute |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DisplayAttribute, a cast assert is made to check if types are compatible. |
boolean |
getAutoGenerateField()
Gets the value of the .NET property AutoGenerateField.
|
Nullable_1 |
GetAutoGenerateField()
Invokes the .NET member GetAutoGenerateField.
|
boolean |
getAutoGenerateFilter()
Gets the value of the .NET property AutoGenerateFilter.
|
Nullable_1 |
GetAutoGenerateFilter()
Invokes the .NET member GetAutoGenerateFilter.
|
java.lang.String |
getDescription()
Gets the value of the .NET property Description.
|
java.lang.String |
GetDescription()
Invokes the .NET member GetDescription.
|
java.lang.String |
getGroupName()
Gets the value of the .NET property GroupName.
|
java.lang.String |
GetGroupName()
Invokes the .NET member GetGroupName.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
java.lang.String |
getName()
Gets the value of the .NET property Name.
|
java.lang.String |
GetName()
Invokes the .NET member GetName.
|
int |
getOrder()
Gets the value of the .NET property Order.
|
Nullable_1 |
GetOrder()
Invokes the .NET member GetOrder.
|
java.lang.String |
getPrompt()
Gets the value of the .NET property Prompt.
|
java.lang.String |
GetPrompt()
Invokes the .NET member GetPrompt.
|
NetType |
getResourceType()
Gets the value of the .NET property ResourceType.
|
java.lang.String |
getShortName()
Gets the value of the .NET property ShortName.
|
java.lang.String |
GetShortName()
Invokes the .NET member GetShortName.
|
void |
setAutoGenerateField(boolean AutoGenerateField)
Sets the value of the .NET property AutoGenerateField.
|
void |
setAutoGenerateFilter(boolean AutoGenerateFilter)
Sets the value of the .NET property AutoGenerateFilter.
|
void |
setDescription(java.lang.String Description)
Sets the value of the .NET property Description.
|
void |
setGroupName(java.lang.String GroupName)
Sets the value of the .NET property GroupName.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setName(java.lang.String Name)
Sets the value of the .NET property Name.
|
void |
setOrder(int Order)
Sets the value of the .NET property Order.
|
void |
setPrompt(java.lang.String Prompt)
Sets the value of the .NET property Prompt.
|
void |
setResourceType(NetType ResourceType)
Sets the value of the .NET property ResourceType.
|
void |
setShortName(java.lang.String ShortName)
Sets the value of the .NET property ShortName.
|
GetCustomAttribute, GetCustomAttribute, GetCustomAttribute, GetCustomAttribute, GetCustomAttribute, GetCustomAttribute, GetCustomAttribute, GetCustomAttribute, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, getTypeId, IsDefaultAttribute, IsDefined, IsDefined, IsDefined, IsDefined, IsDefined, IsDefined, IsDefined, IsDefined, Matchpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DisplayAttribute()
throws java.lang.Throwable
java.lang.Throwable - if the .NET constructor failspublic DisplayAttribute(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static DisplayAttribute cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DisplayAttribute, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDisplayAttribute instancejava.lang.Throwable - in case of error during cast operationpublic boolean getAutoGenerateField()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic Nullable_1 GetAutoGenerateField() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getAutoGenerateFilter()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic Nullable_1 GetAutoGenerateFilter() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getDescription()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String GetDescription()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic java.lang.String getGroupName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String GetGroupName()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class Attributepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class Attributepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class Attributenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class Attributepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class Attributepublic java.lang.String getName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String GetName()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic int getOrder()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic Nullable_1 GetOrder() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getPrompt()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String GetPrompt()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic NetType getResourceType() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getShortName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String GetShortName()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setAutoGenerateField(boolean AutoGenerateField)
throws java.lang.Throwable
AutoGenerateField - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAutoGenerateFilter(boolean AutoGenerateFilter)
throws java.lang.Throwable
AutoGenerateFilter - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setDescription(java.lang.String Description)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException
Description - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void setGroupName(java.lang.String GroupName)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException
GroupName - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class Attributeinstance - the new underlying objectpublic void setName(java.lang.String Name)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException
Name - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void setOrder(int Order)
throws java.lang.Throwable
Order - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setPrompt(java.lang.String Prompt)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException
Prompt - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void setResourceType(NetType ResourceType) throws java.lang.Throwable
ResourceType - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setShortName(java.lang.String ShortName)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException
ShortName - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises it