Class AbstractFieldInfo
java.lang.Object
ch.tocco.nice2.netui.api.bind.entity.AbstractFieldInfo
- Direct Known Subclasses:
IteratorContainerFieldInfo,RangeFieldInfo,SelectionFieldInfo,ValueFieldInfo
Deprecated.
One field represents a form field plus the bound data uri and value.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDeprecated.How to show the gui component.static enumDeprecated.When to return the data value from the client to the server. -
Constructor Summary
ConstructorsConstructorDescriptionAbstractFieldInfo(String componentId, URI fieldOrRelationUri, long version, AbstractFieldInfo.ReturnValue returnValue, AbstractFieldInfo.DisplayType displayType) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Deprecated.Deprecated.longDeprecated.voidtoConception(String oldPk, String entityName) Deprecated.Changes the primary key in the field uri to conception "~".
-
Constructor Details
-
AbstractFieldInfo
public AbstractFieldInfo(String componentId, URI fieldOrRelationUri, long version, AbstractFieldInfo.ReturnValue returnValue, AbstractFieldInfo.DisplayType displayType) Deprecated.- Parameters:
componentId- The name/id of the gui component.fieldOrRelationUri- The uri of the entity field or relation.version- The current version the entity (fieldOrRelationUri) has (not the value).returnValue- Under what circumstances the value must be sent back to the server.displayType- If and how the user can see and edit the value.
-
-
Method Details
-
toConception
Deprecated.Changes the primary key in the field uri to conception "~".- Parameters:
oldPk- The expected pk in the field uri.entityName- The name of the entity- Throws:
RuntimeException- If the expected oldPk does not occur exactly once.URISyntaxException- Really shouldn't happen.
-
getComponentId
Deprecated. -
getFieldUri
Deprecated. -
getVersion
public long getVersion()Deprecated. -
getReturnValue
Deprecated. -
getDisplayType
Deprecated.
-