Package cruise.umple.cpp.gen
Class GenBody
java.lang.Object
cruise.umple.cpp.gen.AbstractGenBody
cruise.umple.cpp.gen.GenBody
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AbstractGenConstraint
,GenAspectableReturnBody
,GenConnectEntry
,UniqueGenBody
public class GenBody extends AbstractGenBody implements java.io.Serializable
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
AFTER
static java.lang.String
BEFORE
static java.lang.String
BLOCK
static java.lang.String
POST_BLOCK
static java.lang.String
PRE_BLOCK
-
Constructor Summary
Constructors Constructor Description GenBody(java.lang.String aBody)
-
Method Summary
Modifier and Type Method Description void
delete()
GenMethod
getDefaultBodyOwner()
GenClass
getGenClass()
GenMethod
getGenMethod()
GenClass
getOwnerGenBody()
boolean
hasDefaultBodyOwner()
boolean
hasGenClass()
boolean
hasGenMethod()
boolean
hasOwnerGenBody()
boolean
setDefaultBodyOwner(GenMethod aDefaultBodyOwner)
boolean
setGenClass(GenClass aGenClass)
boolean
setGenMethod(GenMethod aGenMethod)
boolean
setOwnerGenBody(GenClass aOwnerGenBody)
java.lang.String
toString()
Methods inherited from class cruise.umple.cpp.gen.AbstractGenBody
_cr, cr, dynamicContent, getBody, getPriority, getType, setBody, setPriority, setType
-
Field Details
-
PRE_BLOCK
public static final java.lang.String PRE_BLOCK- See Also:
- Constant Field Values
-
BLOCK
public static final java.lang.String BLOCK- See Also:
- Constant Field Values
-
BEFORE
public static final java.lang.String BEFORE- See Also:
- Constant Field Values
-
AFTER
public static final java.lang.String AFTER- See Also:
- Constant Field Values
-
POST_BLOCK
public static final java.lang.String POST_BLOCK- See Also:
- Constant Field Values
-
-
Constructor Details
-
GenBody
public GenBody(java.lang.String aBody)
-
-
Method Details
-
getGenClass
-
hasGenClass
public boolean hasGenClass() -
getGenMethod
-
hasGenMethod
public boolean hasGenMethod() -
getDefaultBodyOwner
-
hasDefaultBodyOwner
public boolean hasDefaultBodyOwner() -
getOwnerGenBody
-
hasOwnerGenBody
public boolean hasOwnerGenBody() -
setGenClass
-
setGenMethod
-
setDefaultBodyOwner
-
setOwnerGenBody
-
delete
public void delete()- Overrides:
delete
in classAbstractGenBody
-
toString
public java.lang.String toString()- Overrides:
toString
in classAbstractGenBody
-