java.lang.Object
org.fuin.ddd4j.esc.AggregateStreamId
- All Implemented Interfaces:
Serializable,org.fuin.esc.api.StreamId
Unique name of an aggregate stream. Equals and has code are based on the
asString() method.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAggregateStreamId(org.fuin.ddd4j.core.EntityType type, String paramName, org.fuin.ddd4j.core.AggregateRootId paramValue) Constructor with type and id. -
Method Summary
-
Constructor Details
-
AggregateStreamId
public AggregateStreamId(org.fuin.ddd4j.core.EntityType type, String paramName, org.fuin.ddd4j.core.AggregateRootId paramValue) Constructor with type and id.- Parameters:
type- Aggregate type.paramName- Parameter name.paramValue- Aggregate id.
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceorg.fuin.esc.api.StreamId
-
isProjection
public boolean isProjection()- Specified by:
isProjectionin interfaceorg.fuin.esc.api.StreamId
-
getSingleParamValue
public <T> T getSingleParamValue()- Specified by:
getSingleParamValuein interfaceorg.fuin.esc.api.StreamId
-
getParameters
- Specified by:
getParametersin interfaceorg.fuin.esc.api.StreamId
-
asString
- Specified by:
asStringin interfaceorg.fuin.esc.api.StreamId
-
hashCode
public int hashCode() -
equals
-
toString
-