Package com.exedio.cope.pattern
Class PartOf<C extends Item>
java.lang.Object
com.exedio.cope.Feature
com.exedio.cope.Pattern
com.exedio.cope.pattern.PartOf<C>
- All Implemented Interfaces:
Serializable
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(ItemField<C> container, FunctionField<?> order) getContainer
(Item part) getDeclaredPartOfs
(Type<?> type) getOrder()
getPartOfs
(Pattern pattern) Returns all partofs of thepattern
.getPartOfs
(Type<?> type) Returns all part-of declarations wheretype
or any of it's super types is the container typegetContainer()
.getValueType()
.getPartsAndCast
(Item container) Deprecated.Deprecated.Usecreate(ItemField)
insteadnewPartOf
(ItemField<C> container, FunctionField<?> order) Deprecated.Usecreate(ItemField,FunctionField)
insteadMethods inherited from class com.exedio.cope.Pattern
addSource, addSource, addSource, addSource, addSourceFeature, addSourceFeature, addSourceFeature, annotationField, equals, getGeneratedTypes, getSourceFeatures, getSourceFeaturesGather, getSourceFields, getSources, getSourceTypes, getType, hashCode, initialize, newSourceType, newSourceType, newSourceType, newSourceType, newSourceType, newSourceType, newType, newType, onMount, registerSource
Methods inherited from class com.exedio.cope.Feature
afterModelCreated, getAbstractType, getAnnotation, getID, getLocalizationKeys, getName, getPattern, isAnnotationPresent, isSourceAlready, mount, readResolve, requireMounted, toString, toString, writeReplace
-
Method Details
-
create
-
create
-
getContainer
-
getOrder
-
getContainer
-
getParts
-
getParts
-
getParts
-
getPartOfs
Returns all part-of declarations wheretype
or any of it's super types is the container typegetContainer()
.getValueType()
. -
getDeclaredPartOfs
-
getPartOfs
Returns all partofs of thepattern
. Considers a one step recursion forHistory
. -
getPartsAndCast
Deprecated.UsegetParts(Item)
instead -
newPartOf
Deprecated.Usecreate(ItemField)
instead -
newPartOf
@Deprecated public static <C extends Item> PartOf<C> newPartOf(ItemField<C> container, FunctionField<?> order) Deprecated.Usecreate(ItemField,FunctionField)
instead
-
getParts(Item)
instead