Package system.web.modelbinding
Class ModelMetadata
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.web.modelbinding.ModelMetadata
-
- All Implemented Interfaces:
IJCOBridgeReflected
- Direct Known Subclasses:
DataAnnotationsModelMetadata
public class ModelMetadata extends NetObject
The base .NET class managing System.Web.ModelBinding.ModelMetadata, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.ModelBinding.ModelMetadata
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Webstatic java.lang.String
className
Qualified class name: System.Web.ModelBinding.ModelMetadatastatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ModelMetadata()
ModelMetadata(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelMetadata
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoModelMetadata
, a cast assert is made to check if types are compatible.NetType
getContainerType()
boolean
getConvertEmptyStringToNull()
java.lang.String
getDataTypeName()
java.lang.String
getDescription()
java.lang.String
getDisplayFormatString()
java.lang.String
getDisplayName()
java.lang.String
GetDisplayName()
java.lang.String
getEditFormatString()
boolean
getHideSurroundingHtml()
boolean
getIsComplexType()
boolean
getIsNullableValueType()
boolean
getIsReadOnly()
boolean
getIsRequired()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeNetObject
getModel()
NetType
getModelType()
java.lang.String
getNullDisplayText()
int
getOrder()
java.lang.String
getPropertyName()
boolean
getRequestValidationEnabled()
java.lang.String
getShortDisplayName()
boolean
getShowForDisplay()
boolean
getShowForEdit()
java.lang.String
getSimpleDisplayText()
java.lang.String
getTemplateHint()
java.lang.String
getWatermark()
void
setConvertEmptyStringToNull(boolean ConvertEmptyStringToNull)
void
setDataTypeName(java.lang.String DataTypeName)
void
setDescription(java.lang.String Description)
void
setDisplayFormatString(java.lang.String DisplayFormatString)
void
setDisplayName(java.lang.String DisplayName)
void
setEditFormatString(java.lang.String EditFormatString)
void
setHideSurroundingHtml(boolean HideSurroundingHtml)
void
setIsReadOnly(boolean IsReadOnly)
void
setIsRequired(boolean IsRequired)
void
setJCOInstance(JCObject instance)
void
setModel(NetObject Model)
void
setNullDisplayText(java.lang.String NullDisplayText)
void
setOrder(int Order)
void
setRequestValidationEnabled(boolean RequestValidationEnabled)
void
setShortDisplayName(java.lang.String ShortDisplayName)
void
setShowForDisplay(boolean ShowForDisplay)
void
setShowForEdit(boolean ShowForEdit)
void
setSimpleDisplayText(java.lang.String SimpleDisplayText)
void
setTemplateHint(java.lang.String TemplateHint)
void
setWatermark(java.lang.String Watermark)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Web- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Web.ModelBinding.ModelMetadata- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ModelMetadata cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoModelMetadata
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ModelMetadata
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
GetDisplayName
public java.lang.String GetDisplayName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getConvertEmptyStringToNull
public boolean getConvertEmptyStringToNull() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setConvertEmptyStringToNull
public void setConvertEmptyStringToNull(boolean ConvertEmptyStringToNull) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getHideSurroundingHtml
public boolean getHideSurroundingHtml() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setHideSurroundingHtml
public void setHideSurroundingHtml(boolean HideSurroundingHtml) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsComplexType
public boolean getIsComplexType() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, TypeLoadException, SecurityException, MissingMethodException, TargetInvocationException
-
getIsNullableValueType
public boolean getIsNullableValueType() throws java.lang.Throwable, ArgumentNullException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
NotSupportedException
-
getIsReadOnly
public boolean getIsReadOnly() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setIsReadOnly
public void setIsReadOnly(boolean IsReadOnly) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsRequired
public boolean getIsRequired() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setIsRequired
public void setIsRequired(boolean IsRequired) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getRequestValidationEnabled
public boolean getRequestValidationEnabled() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setRequestValidationEnabled
public void setRequestValidationEnabled(boolean RequestValidationEnabled) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getShowForDisplay
public boolean getShowForDisplay() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setShowForDisplay
public void setShowForDisplay(boolean ShowForDisplay) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getShowForEdit
public boolean getShowForEdit() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setShowForEdit
public void setShowForEdit(boolean ShowForEdit) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getOrder
public int getOrder() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setOrder
public void setOrder(int Order) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getModel
public NetObject getModel() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setModel
public void setModel(NetObject Model) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDataTypeName
public java.lang.String getDataTypeName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDataTypeName
public void setDataTypeName(java.lang.String DataTypeName) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDescription
public java.lang.String getDescription() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDescription
public void setDescription(java.lang.String Description) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDisplayFormatString
public java.lang.String getDisplayFormatString() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDisplayFormatString
public void setDisplayFormatString(java.lang.String DisplayFormatString) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDisplayName
public java.lang.String getDisplayName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDisplayName
public void setDisplayName(java.lang.String DisplayName) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getEditFormatString
public java.lang.String getEditFormatString() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setEditFormatString
public void setEditFormatString(java.lang.String EditFormatString) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getNullDisplayText
public java.lang.String getNullDisplayText() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setNullDisplayText
public void setNullDisplayText(java.lang.String NullDisplayText) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPropertyName
public java.lang.String getPropertyName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getShortDisplayName
public java.lang.String getShortDisplayName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setShortDisplayName
public void setShortDisplayName(java.lang.String ShortDisplayName) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSimpleDisplayText
public java.lang.String getSimpleDisplayText() throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException
-
setSimpleDisplayText
public void setSimpleDisplayText(java.lang.String SimpleDisplayText) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTemplateHint
public java.lang.String getTemplateHint() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTemplateHint
public void setTemplateHint(java.lang.String TemplateHint) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getWatermark
public java.lang.String getWatermark() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setWatermark
public void setWatermark(java.lang.String Watermark) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getContainerType
public NetType getContainerType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getModelType
public NetType getModelType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-