类 SaveException.NotUnique
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.babyfish.jimmer.error.CodeBasedRuntimeException
org.babyfish.jimmer.sql.runtime.SaveException
org.babyfish.jimmer.sql.runtime.SaveException.NotUnique
- 所有已实现的接口:
Serializable
- 封闭类:
SaveException
- 另请参阅:
-
嵌套类概要
从类继承的嵌套类/接口 org.babyfish.jimmer.sql.runtime.SaveException
SaveException.CannotDissociateTarget, SaveException.FailedRemoteValidation, SaveException.IllegalGeneratedId, SaveException.IllegalIdGenerator, SaveException.IllegalInterceptorBehavior, SaveException.IllegalTargetId, SaveException.IncompleteProperty, SaveException.LongRemoteAssociation, SaveException.NeitherIdNorKey, SaveException.NoIdGenerator, SaveException.NoKeyProp, SaveException.NotUnique, SaveException.NoVersion, SaveException.NullTarget, SaveException.OptimisticLockError, SaveException.ReadonlyMiddleTable, SaveException.ReversedRemoteAssociation, SaveException.TargetIsNotTransferable, SaveException.UnstructuredAssociation -
构造器概要
构造器构造器说明NotUnique(@NotNull ExportedSavePath path, String message, Set<org.babyfish.jimmer.meta.ImmutableProp> props, Object value) NotUnique(@NotNull MutationPath path, String message, Set<org.babyfish.jimmer.meta.ImmutableProp> props, Object value) -
方法概要
修饰符和类型方法说明@NotNull List<org.babyfish.jimmer.meta.ImmutableProp>getProps()getValue(org.babyfish.jimmer.meta.ImmutableProp prop) <T> TgetValue(org.babyfish.jimmer.meta.TypedProp.Single<?, T> prop) booleanisMatched(org.babyfish.jimmer.meta.ImmutableProp... props) booleanisMatched(org.babyfish.jimmer.meta.TypedProp.Single<?, ?>... props) 从类继承的方法 org.babyfish.jimmer.sql.runtime.SaveException
getExportedPath, getFields, getPath从类继承的方法 org.babyfish.jimmer.error.CodeBasedRuntimeException
getCode, getFamily
-
构造器详细资料
-
NotUnique
public NotUnique(@NotNull @NotNull MutationPath path, String message, Set<org.babyfish.jimmer.meta.ImmutableProp> props, Object value) -
NotUnique
public NotUnique(@NotNull @NotNull ExportedSavePath path, String message, Set<org.babyfish.jimmer.meta.ImmutableProp> props, Object value)
-
-
方法详细资料
-
getSaveErrorCode
- 指定者:
getSaveErrorCode在类中SaveException
-
getValueMap
-
getValue
public <T> T getValue(org.babyfish.jimmer.meta.TypedProp.Single<?, T> prop) -
getValue
-
getProps
-
isMatched
public boolean isMatched(org.babyfish.jimmer.meta.TypedProp.Single<?, ?>... props) -
isMatched
public boolean isMatched(org.babyfish.jimmer.meta.ImmutableProp... props)
-