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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Deprecated.for internal use onlyboolean
containsKey
(String propName) copy()
Deprecated.for internal use onlyentrySet()
boolean
static Seid
static Seid
from
(Object entity, Collection<String> idPropNames) static Seid
<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) static Seid
Deprecated.replaced byfrom(Map)
Deprecated.for internal use onlyvoid
removeAll
(Collection<String> propNames) Deprecated.for internal use onlyDeprecated.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:
-
of
Deprecated.replaced byfrom(Map)
- Parameters:
nameValues
-- Returns:
-
from
- Parameters:
nameValues
-- Returns:
-
from
- Parameters:
entity
-- Returns:
-
from
- 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
-
-
remove
Deprecated.for internal use only- Parameters:
propName
-- Returns:
-
removeAll
Deprecated.for internal use onlyRemoves the all.- Parameters:
propNames
-
-
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
-