Overview | Package | Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mil.navy.nps.dis.PduElement | +--mil.navy.nps.dis.EntityType
Field Summary | |
mil.navy.nps.util.UnsignedByte | category
This field shall specify the main category that describes the entity. |
mil.navy.nps.util.UnsignedShort | country
This field shall specify the country to which the design of the entity is attributed. a 16 bits enumeration. |
mil.navy.nps.util.UnsignedByte | domain
This field shall specify the domain in which the equipment operates (for example, subsurface, surface, land, etc.) except for munition entities. |
mil.navy.nps.util.UnsignedByte | extra
This field shall specify extra information required to describe a particular entity. |
mil.navy.nps.util.UnsignedByte | kind
Entity kind: munition, life form, environmental... |
static int | sizeOf
Constant value--size of an EntityType as written out to the wire. |
mil.navy.nps.util.UnsignedByte | specific
This field shall specify specific information about an entity based upon the subcategory field to which it belongs. |
mil.navy.nps.util.UnsignedByte | subCategory
This field shall specify a particular subcategory to which the entity belongs based on the category and the country. |
Constructor Summary | |
EntityType()
Default constructor--fills with zeros for all values. |
Method Summary | |
java.lang.Object | clone()
|
void | deSerialize(java.io.DataInputStream inputStream)
|
mil.navy.nps.util.UnsignedByte | getCategory()
|
mil.navy.nps.util.UnsignedShort | getCountry()
|
mil.navy.nps.util.UnsignedByte | getDomain()
|
mil.navy.nps.util.UnsignedByte | getExtra()
|
mil.navy.nps.util.UnsignedByte | getKind()
|
mil.navy.nps.util.UnsignedByte | getSpecific()
|
mil.navy.nps.util.UnsignedByte | getSubCategory()
|
int | length()
|
void | printValues(int indentLevel,
java.io.PrintStream printStream)
|
void | serialize(java.io.DataOutputStream outputStream)
|
void | setCategory(mil.navy.nps.util.UnsignedByte pCategory)
|
void | setCategory(int pCategory)
|
void | setCountry(mil.navy.nps.util.UnsignedShort pCountry)
|
void | setCountry(int pCountry)
|
void | setDomain(mil.navy.nps.util.UnsignedByte pDomain)
|
void | setDomain(int pDomain)
|
void | setExtra(mil.navy.nps.util.UnsignedByte pExtra)
|
void | setExtra(int pExtra)
|
void | setKind(mil.navy.nps.util.UnsignedByte pKind)
|
void | setKind(int pKind)
|
void | setSpecific(mil.navy.nps.util.UnsignedByte pSpecific)
|
void | setSpecific(int pSpecific)
|
void | setSubCategory(mil.navy.nps.util.UnsignedByte pSubCategory)
|
void | setSubCategory(int pSubCategory)
|
Methods inherited from class mil.navy.nps.dis.PduElement | |
clone, deSerialize, length, printValues, serialize |
Methods inherited from class java.lang.Object | |
Field Detail |
protected mil.navy.nps.util.UnsignedByte kind
protected mil.navy.nps.util.UnsignedByte domain
protected mil.navy.nps.util.UnsignedShort country
protected mil.navy.nps.util.UnsignedByte category
protected mil.navy.nps.util.UnsignedByte subCategory
protected mil.navy.nps.util.UnsignedByte specific
protected mil.navy.nps.util.UnsignedByte extra
public static final int sizeOf
sizeOf = 8 bytes
Constructor Detail |
public EntityType()
Method Detail |
public java.lang.Object clone()
public void serialize(java.io.DataOutputStream outputStream)
public void deSerialize(java.io.DataInputStream inputStream)
public int length()
public void printValues(int indentLevel, java.io.PrintStream printStream)
public mil.navy.nps.util.UnsignedByte getKind()
public void setKind(mil.navy.nps.util.UnsignedByte pKind)
public void setKind(int pKind)
public mil.navy.nps.util.UnsignedByte getDomain()
public void setDomain(mil.navy.nps.util.UnsignedByte pDomain)
public void setDomain(int pDomain)
public mil.navy.nps.util.UnsignedShort getCountry()
public void setCountry(mil.navy.nps.util.UnsignedShort pCountry)
public void setCountry(int pCountry)
public mil.navy.nps.util.UnsignedByte getCategory()
public void setCategory(mil.navy.nps.util.UnsignedByte pCategory)
public void setCategory(int pCategory)
public mil.navy.nps.util.UnsignedByte getSubCategory()
public void setSubCategory(mil.navy.nps.util.UnsignedByte pSubCategory)
public void setSubCategory(int pSubCategory)
public mil.navy.nps.util.UnsignedByte getSpecific()
public void setSpecific(mil.navy.nps.util.UnsignedByte pSpecific)
public void setSpecific(int pSpecific)
public mil.navy.nps.util.UnsignedByte getExtra()
public void setExtra(mil.navy.nps.util.UnsignedByte pExtra)
public void setExtra(int pExtra)
Overview | Package | Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |