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.StringassemblyFullNameFully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Webstatic java.lang.StringclassNameQualified class name: System.Web.ModelBinding.ModelMetadatastatic JCTypeclassTypeThe 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 ModelMetadatacast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoModelMetadata, a cast assert is made to check if types are compatible.NetTypegetContainerType()booleangetConvertEmptyStringToNull()java.lang.StringgetDataTypeName()java.lang.StringgetDescription()java.lang.StringgetDisplayFormatString()java.lang.StringgetDisplayName()java.lang.StringGetDisplayName()java.lang.StringgetEditFormatString()booleangetHideSurroundingHtml()booleangetIsComplexType()booleangetIsNullableValueType()booleangetIsReadOnly()booleangetIsRequired()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeNetObjectgetModel()NetTypegetModelType()java.lang.StringgetNullDisplayText()intgetOrder()java.lang.StringgetPropertyName()booleangetRequestValidationEnabled()java.lang.StringgetShortDisplayName()booleangetShowForDisplay()booleangetShowForEdit()java.lang.StringgetSimpleDisplayText()java.lang.StringgetTemplateHint()java.lang.StringgetWatermark()voidsetConvertEmptyStringToNull(boolean ConvertEmptyStringToNull)voidsetDataTypeName(java.lang.String DataTypeName)voidsetDescription(java.lang.String Description)voidsetDisplayFormatString(java.lang.String DisplayFormatString)voidsetDisplayName(java.lang.String DisplayName)voidsetEditFormatString(java.lang.String EditFormatString)voidsetHideSurroundingHtml(boolean HideSurroundingHtml)voidsetIsReadOnly(boolean IsReadOnly)voidsetIsRequired(boolean IsRequired)voidsetJCOInstance(JCObject instance)voidsetModel(NetObject Model)voidsetNullDisplayText(java.lang.String NullDisplayText)voidsetOrder(int Order)voidsetRequestValidationEnabled(boolean RequestValidationEnabled)voidsetShortDisplayName(java.lang.String ShortDisplayName)voidsetShowForDisplay(boolean ShowForDisplay)voidsetShowForEdit(boolean ShowForEdit)voidsetSimpleDisplayText(java.lang.String SimpleDisplayText)voidsetTemplateHint(java.lang.String TemplateHint)voidsetWatermark(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:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ModelMetadata cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoModelMetadata, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ModelMetadatainstance- 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, InvalidOperationException, SecurityException, MissingMethodException, TargetInvocationException, ObjectDisposedException, AbandonedMutexException
-
getIsNullableValueType
public boolean getIsNullableValueType() throws java.lang.Throwable, ArgumentNullException, NotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionNotSupportedException
-
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
-
-