Interface CrmEntity
- All Superinterfaces:
net.tangly.core.HasLocation
,net.tangly.core.HasMutableTags
,net.tangly.core.HasTags
- All Known Implementing Classes:
Contract
,Employee
,LegalEntity
,NaturalEntity
public interface CrmEntity
extends net.tangly.core.HasMutableTags, net.tangly.core.HasLocation
A customer relation management mixin defines a set of operations useful for all CRM abstractions. All information is stored as tags for future extensions.
Key attributes are address or locations, phone numbers, social channels and internet presence.
The tag approach provides flexibility required by the evolution of values to represent similar information. For example an address, a geographical location or an universal Plus code model similar information. Examples of CRM entities are natural and legal entities.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.tangly.core.HasLocation
net.tangly.core.HasLocation.GeoPosition, net.tangly.core.HasLocation.PlusCode
-
Field Summary
Fields inherited from interface net.tangly.core.HasTags
TAGS
-
Method Summary
Modifier and TypeMethodDescriptiondefault Optional
<net.tangly.core.Address> default void
default Optional
<net.tangly.core.EmailAddress> default void
default void
default void
default Optional
<net.tangly.core.PhoneNr> default Optional
<net.tangly.core.HasLocation.PlusCode> plusCode()
default Optional
<net.tangly.core.HasLocation.GeoPosition> position()
default void
Methods inherited from interface net.tangly.core.HasLocation
address, hasAddress, hasPlusCode, hasPosition
Methods inherited from interface net.tangly.core.HasMutableTags
add, addTags, clear, rawTags, remove, removeTagNamed, tags, update, update
Methods inherited from interface net.tangly.core.HasTags
containsTag, containsTag, findBy, findBy, findByNamespace, rawTags, tags, value, value
-
Method Details
-
plusCode
- Specified by:
plusCode
in interfacenet.tangly.core.HasLocation
-
position
- Specified by:
position
in interfacenet.tangly.core.HasLocation
-
phoneNr
-
phoneNr
-
email
-
email
-
address
-
address
-
im
-
im
-
site
-
site
-