public class MicroblogConfiguration extends Object implements Serializable
Constructor and Description |
---|
MicroblogConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addMicroblogProfile(int index,
MicroblogProfile vMicroblogProfile) |
void |
addMicroblogProfile(MicroblogProfile vMicroblogProfile) |
Enumeration<MicroblogProfile> |
enumerateMicroblogProfile()
Method enumerateMicroblogProfile.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
String |
getDefaultMicroblogProfileName()
Returns the value of field 'defaultMicroblogProfileName'.
|
MicroblogProfile[] |
getMicroblogProfile()
Method getMicroblogProfile.Returns the contents of the
collection in an Array.
|
MicroblogProfile |
getMicroblogProfile(int index)
Method getMicroblogProfile.
|
List<MicroblogProfile> |
getMicroblogProfileCollection()
Method getMicroblogProfileCollection.Returns a reference to
'_microblogProfileList'.
|
int |
getMicroblogProfileCount()
Method getMicroblogProfileCount.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
isValid()
Method isValid.
|
Iterator<MicroblogProfile> |
iterateMicroblogProfile()
Method iterateMicroblogProfile.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllMicroblogProfile() |
boolean |
removeMicroblogProfile(MicroblogProfile vMicroblogProfile)
Method removeMicroblogProfile.
|
MicroblogProfile |
removeMicroblogProfileAt(int index)
Method removeMicroblogProfileAt.
|
void |
setDefaultMicroblogProfileName(String defaultMicroblogProfileName)
Sets the value of field 'defaultMicroblogProfileName'.
|
void |
setMicroblogProfile(int index,
MicroblogProfile vMicroblogProfile) |
void |
setMicroblogProfile(List<MicroblogProfile> vMicroblogProfileList)
Sets the value of '_microblogProfileList' by copying the
given Vector.
|
void |
setMicroblogProfile(MicroblogProfile[] vMicroblogProfileArray) |
void |
setMicroblogProfileCollection(List<MicroblogProfile> microblogProfileList)
Deprecated.
|
static MicroblogConfiguration |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addMicroblogProfile(MicroblogProfile vMicroblogProfile) throws IndexOutOfBoundsException
vMicroblogProfile
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addMicroblogProfile(int index, MicroblogProfile vMicroblogProfile) throws IndexOutOfBoundsException
index
- vMicroblogProfile
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration<MicroblogProfile> enumerateMicroblogProfile()
public boolean equals(Object obj)
public String getDefaultMicroblogProfileName()
public MicroblogProfile getMicroblogProfile(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic MicroblogProfile[] getMicroblogProfile()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<MicroblogProfile> getMicroblogProfileCollection()
public int getMicroblogProfileCount()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public Iterator<MicroblogProfile> iterateMicroblogProfile()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllMicroblogProfile()
public boolean removeMicroblogProfile(MicroblogProfile vMicroblogProfile)
vMicroblogProfile
- public MicroblogProfile removeMicroblogProfileAt(int index)
index
- public void setDefaultMicroblogProfileName(String defaultMicroblogProfileName)
defaultMicroblogProfileName
- the value of field
'defaultMicroblogProfileName'.public void setMicroblogProfile(int index, MicroblogProfile vMicroblogProfile) throws IndexOutOfBoundsException
index
- vMicroblogProfile
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setMicroblogProfile(MicroblogProfile[] vMicroblogProfileArray)
vMicroblogProfileArray
- public void setMicroblogProfile(List<MicroblogProfile> vMicroblogProfileList)
vMicroblogProfileList
- the Vector to copy.public void setMicroblogProfileCollection(List<MicroblogProfile> microblogProfileList)
microblogProfileList
- the Vector to set.public static MicroblogConfiguration unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2017. All rights reserved.