com.groiss.dms
Interface DMSForm

All Superinterfaces:
DMSObject, HasLog, com.dec.avw.core.OwnedObject, Persistent
All Known Subinterfaces:
DMSDocForm, DMSFolderForm, DMSNote, DMSWebLink

public interface DMSForm
extends DMSObject, HasLog

The base interface for all forms in @enterprise DMS


Method Summary
<T> T
getField(java.lang.String name)
          Returns the value of the specified field
 java.lang.Class<?> getFieldType(java.lang.String name)
          Returns the class of the specified field
 FormType getFormType()
          Returns the form type of this form
 boolean hasField(java.lang.String name)
          Returns if the form has a field with the specified name
 void setField(java.lang.String name, java.lang.Object value)
          Sets the value of the specified field
 
Methods inherited from interface com.groiss.dms.DMSObject
attachNote, getAcl, getChangedAt, getChangedBy, getCreatedAt, getCreatedBy, getDefaultOrgUnit, getIcon, getName, getTypeName, hasAttachedNotes, hasVersions, listAttachedNotes, listVersions, makeCopy, makeVersion, removeNote, setAcl, setName
 
Methods inherited from interface com.dec.avw.core.OwnedObject
getOwner, ignoreSubstitution
 
Methods inherited from interface com.groiss.store.Persistent
dbFields, getOid, getStore, getTableName, isFilled, onDelete, onInsert, onRead, onUpdate, setFilled, setOid, setStore
 
Methods inherited from interface com.groiss.org.HasLog
getVersionId, setVersionId
 

Method Detail

hasField

boolean hasField(java.lang.String name)
Returns if the form has a field with the specified name

Parameters:
name - the name of the field to investigate
Returns:
true if such a field exists, false otherwise

getField

<T> T getField(java.lang.String name)
Returns the value of the specified field

Parameters:
name - the name of the field which value is wanted

getFieldType

java.lang.Class<?> getFieldType(java.lang.String name)
Returns the class of the specified field

Parameters:
name - the name of the field which value is wanted
Returns:
the class of the specified field

setField

void setField(java.lang.String name,
              java.lang.Object value)
Sets the value of the specified field

Parameters:
name - the name of the field
value - the value for the field

getFormType

FormType getFormType()
Returns the form type of this form



@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.