Package com.exedio.cope.pattern
Class Block
- java.lang.Object
-
- com.exedio.cope.pattern.Block
-
- All Implemented Interfaces:
TemplatedValue
,Serializable
public abstract class Block extends Object implements Serializable, TemplatedValue
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Block(BlockActivationParameters ap)
Activation constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
BlockField<?>
field()
BlockType<?>
getCopeType()
int
hashCode()
Item
item()
String
toString()
-
-
-
Constructor Detail
-
Block
protected Block(BlockActivationParameters ap)
Activation constructor. Is used for internal purposes only.
-
-
Method Detail
-
field
public final BlockField<?> field()
-
item
public final Item item()
-
getCopeType
public final BlockType<?> getCopeType()
- Specified by:
getCopeType
in interfaceTemplatedValue
-
-