|
copyright The Portico Project 2008. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.portico.shared.model.ACInstance
public class ACInstance
This class represents a single instance of an attribute that exists inside an OCInstance. It contains information such as the handle and type (metadata) of the attribute,
however, it does not hold the value of the attribute.
| Field Summary | |
|---|---|
private OCInstance |
container
|
private int |
handle
|
private int |
owner
|
private RegionInstance |
region
|
private static long |
serialVersionUID
|
private ACMetadata |
type
|
| Constructor Summary | |
|---|---|
ACInstance()
|
|
ACInstance(ACMetadata type)
|
|
ACInstance(ACMetadata type,
int owner)
|
|
ACInstance(ACMetadata type,
int owner,
OCInstance container)
|
|
| Method Summary | |
|---|---|
OCInstance |
getContainer()
|
int |
getHandle()
The handle of the attribute type from the FOM. |
int |
getOwner()
The federate handle of the owning federate. |
RegionInstance |
getRegion()
Returns the region associated with this particular attribute. |
ACMetadata |
getType()
|
void |
setContainer(OCInstance container)
|
void |
setOwner(int owner)
The federate handle of the owning federate. |
void |
setRegion(RegionInstance region)
|
void |
setType(ACMetadata type)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private int handle
private int owner
private OCInstance container
private ACMetadata type
private RegionInstance region
| Constructor Detail |
|---|
public ACInstance()
public ACInstance(ACMetadata type)
public ACInstance(ACMetadata type,
int owner)
public ACInstance(ACMetadata type,
int owner,
OCInstance container)
| Method Detail |
|---|
public OCInstance getContainer()
public void setContainer(OCInstance container)
public int getHandle()
public int getOwner()
PorticoConstants.NULL_HANDLE is used.
public void setOwner(int owner)
PorticoConstants.NULL_HANDLE should be used.
public ACMetadata getType()
public void setType(ACMetadata type)
public RegionInstance getRegion()
public void setRegion(RegionInstance region)
|
copyright The Portico Project 2008. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||