Package com.landawn.abacus.util
Class Seid
java.lang.Object
com.landawn.abacus.util.Seid
- All Implemented Interfaces:
EntityId
- Since:
- 0.8
- Author:
- Haiyang Li
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.landawn.abacus.util.EntityId
EntityId.EntityIdBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Deprecated.for internal use onlyboolean
containsKey
(String propName) copy()
Deprecated.for internal use onlystatic Seid
static Seid
create
(Object entity, Collection<String> idPropNames) static Seid
entrySet()
boolean
<T> T
<T> T
Node: To follow one of general design rules inAbacus
, if there is a conversion behind when the source value is not assignable to the target type, put thetargetType
to last parameter of the method.int
long
int
hashCode()
boolean
isEmpty()
Checks if is empty.keySet()
static Seid
Deprecated.for internal use onlystatic Seid
static Seid
static Seid
of
(String propName1, Object propValue1, String propName2, Object propValue2, String propName3, Object propValue3) Deprecated.for internal use onlyvoid
Deprecated.for internal use onlyint
size()
toString()
-
Constructor Details
-
Seid
Deprecated.- Parameters:
entityName
-
-
Seid
- Parameters:
propName
-propValue
-
-
Seid
- Parameters:
nameValues
-
-
-
Method Details
-
of
Deprecated.for internal use only- Parameters:
entityName
-- Returns:
-
of
- Parameters:
propName
-propValue
-- Returns:
-
of
- Parameters:
propName1
-propValue1
-propName2
-propValue2
-- Returns:
-
of
public static Seid of(String propName1, Object propValue1, String propName2, Object propValue2, String propName3, Object propValue3) - Parameters:
propName1
-propValue1
-propName2
-propValue2
-propName3
-propValue3
-- Returns:
-
create
- Parameters:
nameValues
-- Returns:
-
create
- Parameters:
entity
-- Returns:
-
create
- Parameters:
entity
-idPropNames
-- Returns:
-
entityName
- Specified by:
entityName
in interfaceEntityId
- Returns:
-
get
-
getInt
-
getLong
-
get
Description copied from interface:EntityId
Node: To follow one of general design rules inAbacus
, if there is a conversion behind when the source value is not assignable to the target type, put thetargetType
to last parameter of the method. Otherwise, put thetargetTpye
to the first parameter of the method. -
set
Deprecated.for internal use only- Parameters:
propName
-propValue
-- Returns:
-
set
Deprecated.for internal use only- Parameters:
nameValues
-
-
containsKey
- Specified by:
containsKey
in interfaceEntityId
- Parameters:
propName
-- Returns:
- true, if successful
-
keySet
-
entrySet
-
size
public int size() -
isEmpty
public boolean isEmpty()Checks if is empty. -
clear
Deprecated.for internal use onlyClear. -
copy
Deprecated.for internal use only- Returns:
-
equals
-
hashCode
public int hashCode() -
toString
-