|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.alertmgr.TWGPublish
com.tivoli.twg.alertmgr.TWGPublishEventType
Field Summary | |
---|---|
static int |
ALL_KEYWORDS
Bit-mask helper values. |
static int |
KEYWORD_0_ISA_LITERAL
|
static int |
KEYWORD_1_ISA_LITERAL
|
static int |
KEYWORD_2_ISA_LITERAL
|
static int |
KEYWORD_3_ISA_LITERAL
|
static int |
KEYWORD_4_ISA_LITERAL
|
static int |
KEYWORD_5_ISA_LITERAL
|
static int |
KEYWORD_6_ISA_LITERAL
|
static int |
KEYWORD_7_ISA_LITERAL
|
static int |
KEYWORD_8_ISA_LITERAL
|
static int |
KEYWORD_9_ISA_LITERAL
|
Fields inherited from class com.tivoli.twg.alertmgr.TWGPublish |
---|
VERSION_ONE |
Constructor Summary | |
---|---|
TWGPublishEventType(IntelByteBuffer buf)
Constructor for interpreting a provided IntelByteBuffer. |
|
TWGPublishEventType(IntelByteBuffer buf,
int off)
Constructor for interpreting a provided IntelByteBuffer at a given offset. |
|
TWGPublishEventType(java.lang.String family,
java.lang.String[] qualifiers,
int version,
java.util.Locale locale,
java.lang.String[] replacementQualifiers)
Constructor - Publish new event type. |
|
TWGPublishEventType(java.lang.String family,
java.lang.String[] qualifiers,
int version,
java.lang.String[] keywords,
java.lang.String bundleName,
int mask)
Constructor - Publish a new event type. |
|
TWGPublishEventType(java.lang.String family,
java.lang.String[] qualifiers,
java.util.Locale locale,
java.lang.String[] replacementQualifiers)
Constructor with default version. |
|
TWGPublishEventType(java.lang.String family,
java.lang.String[] qualifiers,
short version,
java.util.Locale locale,
java.lang.String[] replacementQualifiers)
Constructor with short version (used for migration purposes only). |
|
TWGPublishEventType(TWGPublishEventType pet)
Copy Constructor. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Copy object. |
java.lang.String |
getBundleName()
Get bundle name. |
java.lang.String[] |
getKeywords()
Get the keywords defined by this publication. |
int |
getMask()
Get keyword mask. |
int |
getNumReplacementQualifiers()
Get the number of presentational qualifiers. |
java.lang.String |
getReplacementQualifier(int index)
Get the presentational qualifier refernced by index. |
java.lang.String[] |
getReplacementQualifiers()
Get the presentational qualifiers defined by this publication. |
int |
getTypeId()
Get type ID. |
static void |
main(java.lang.String[] argv)
|
int |
readTWGPublishEventType(IntelByteBuffer buf,
int off)
Method for interpreting a provided IntelByteBuffer at a given offset. |
int |
sizeOf()
Determine the size of the entire TWGPublishEventType object. |
static int |
sizeOfHdr()
Determine the size of the TWGPublishEventType header. |
int |
sizeOfTWGPublishEventType()
Determine the size of the entire TWGPublishEventType object. |
IntelByteBuffer |
toIntelByteBuffer()
Convert the TWGPublishEventType into IntelByteBuffer representation. |
int |
writeIntelByteBuffer(IntelByteBuffer buf)
Write contents of this object into an IntelByteBuffer. |
int |
writeIntelByteBuffer(IntelByteBuffer buf,
int off)
Write contents of this object into provided IntelByteBuffer starting at a given offset. |
Methods inherited from class com.tivoli.twg.alertmgr.TWGPublish |
---|
getLocale, getNumTypeQualifiers, getType, getTypeArray, getTypeFamily, getTypeQualifiers, getVersion, print, readTWGPublish, setLocale, setVersion, sizeOfTWGPublish |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int ALL_KEYWORDS
public static final int KEYWORD_0_ISA_LITERAL
public static final int KEYWORD_1_ISA_LITERAL
public static final int KEYWORD_2_ISA_LITERAL
public static final int KEYWORD_3_ISA_LITERAL
public static final int KEYWORD_4_ISA_LITERAL
public static final int KEYWORD_5_ISA_LITERAL
public static final int KEYWORD_6_ISA_LITERAL
public static final int KEYWORD_7_ISA_LITERAL
public static final int KEYWORD_8_ISA_LITERAL
public static final int KEYWORD_9_ISA_LITERAL
Constructor Detail |
public TWGPublishEventType(java.lang.String family, java.lang.String[] qualifiers, int version, java.util.Locale locale, java.lang.String[] replacementQualifiers) throws TWGPublishException
family
- String representing the highest level qualifier of the event typequalifiers
- Array of strings comprising the remainder of the event typeversion
- Version of data being publishedlocale
- Locale of data being publishedreplacementQualifiers
- Presentational qualifiers for given locale and typepublic TWGPublishEventType(java.lang.String family, java.lang.String[] qualifiers, short version, java.util.Locale locale, java.lang.String[] replacementQualifiers) throws TWGPublishException
family
- String representing the highest level qualifier of the event typequalifiers
- Array of strings comprising the remainder of the event typeversion
- Version of data being publishedlocale
- Locale of data being publishedreplacementQualifiers
- Presentational qualifiers for given locale and typepublic TWGPublishEventType(java.lang.String family, java.lang.String[] qualifiers, java.util.Locale locale, java.lang.String[] replacementQualifiers) throws TWGPublishException
family
- String representing the highest level qualifier of the event typequalifiers
- Array of strings comprising the remainder of the event typelocale
- Locale of data being publishedreplacementQualifiers
- Presentational qualifiers for given locale and typepublic TWGPublishEventType(java.lang.String family, java.lang.String[] qualifiers, int version, java.lang.String[] keywords, java.lang.String bundleName, int mask) throws TWGPublishException
family
- String representing the highest level qualifier of the event typequalifiers
- Array of strings comprising the remainder of the event typeversion
- Version of data being publishedkeywords
- Array of keywords/qualifiersbundleName
- Name of bundle containing keywordsmask
- Bit-wise mask of keyword vs literal (0=keyword, 1=literal)public TWGPublishEventType(TWGPublishEventType pet)
pet
- TWGPublishEventType object to be copiedpublic TWGPublishEventType(IntelByteBuffer buf)
buf
- IntelByteBuffer from which data should be readpublic TWGPublishEventType(IntelByteBuffer buf, int off)
buf
- IntelByteBuffer from which data should be readoff
- offset from the current relative start of the provided IntelByteBufferMethod Detail |
public java.lang.Object clone()
clone
in class TWGPublish
public java.lang.String getReplacementQualifier(int index) throws java.lang.ArrayIndexOutOfBoundsException
index
- index of requested qualifier
java.lang.ArrayIndexOutOfBoundsException
public int getNumReplacementQualifiers()
public java.lang.String[] getKeywords()
public java.lang.String[] getReplacementQualifiers()
public int getMask()
public java.lang.String getBundleName()
public IntelByteBuffer toIntelByteBuffer()
toIntelByteBuffer
in class TWGPublish
public int writeIntelByteBuffer(IntelByteBuffer buf)
writeIntelByteBuffer
in class TWGPublish
buf
- IntelByteBuffer into which data should be written
public int writeIntelByteBuffer(IntelByteBuffer buf, int off)
writeIntelByteBuffer
in class TWGPublish
buf
- IntelByteBuffer into which data should be writtenoff
- offset from the current relative start of the provided IntelByteBuffer
public int readTWGPublishEventType(IntelByteBuffer buf, int off)
buf
- IntelByteBuffer from which data should be readoff
- offset from the current relative start of the provided IntelByteBuffer
public static int sizeOfHdr()
public int sizeOfTWGPublishEventType()
public int sizeOf()
sizeOf
in class TWGPublish
public int getTypeId()
getTypeId
in class TWGPublish
public static void main(java.lang.String[] argv)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |