Package com.axelor.db.mapper
Class JsonProperty
java.lang.Object
com.axelor.db.mapper.Property
com.axelor.db.mapper.JsonProperty
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionIf this is a multi-valued field (one-to-many, many-to-many), add the specified item to the collection.addAll(Object bean, Collection<?> items) If this is a multi-valued field (one-to-many, many-to-many), add all the specified items to the collection.Get the value of this property from the given bean instance.getName()getTitle()getType()booleanbooleanbooleanbooleanstatic JsonPropertystatic JsonPropertySet the value for this property to the given bean instance.Methods inherited from class com.axelor.db.mapper.Property
clear, getEntity, getEnumType, getGenericType, getHelp, getJavaType, getMappedBy, getMaxSize, getMinSize, getNameSearch, getPrecision, getScale, getSelection, getSequenceName, getTarget, getTargetName, getTargetSearch, isCopyable, isDefaultNow, isEncrypted, isEnum, isEqualsInclude, isHidden, isImage, isJson, isMassUpdate, isNameColumn, isNullable, isOrphan, isPassword, isReadonly, isRequired, isSequence, isTransient, isTranslatable, isUnique, isVersion, setAssociation, setTarget, toMap, toString, valueChanged
-
Field Details
-
KEY_JSON_PREFIX
- See Also:
-
-
Method Details
-
of
-
of
-
getType
-
isReference
public boolean isReference()- Overrides:
isReferencein classProperty
-
isCollection
public boolean isCollection()- Overrides:
isCollectionin classProperty
-
get
Description copied from class:PropertyGet the value of this property from the given bean instance. -
set
Description copied from class:PropertySet the value for this property to the given bean instance.If the property is a collection, ensure the proper parent-child relationship marked with mappedBy attribute.
-
add
Description copied from class:PropertyIf this is a multi-valued field (one-to-many, many-to-many), add the specified item to the collection. -
addAll
Description copied from class:PropertyIf this is a multi-valued field (one-to-many, many-to-many), add all the specified items to the collection. -
getName
-
getTitle
-
isPrimary
public boolean isPrimary() -
isVirtual
public boolean isVirtual()
-