|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectelectric.uddi.Business
Business represents a UDDI business.
Field Summary |
Constructor Summary | |
Business()
Construct a Business with no initial values. |
|
Business(Business business)
|
|
Business(Name name)
Construct a business with the specified name. |
|
Business(java.lang.String name)
Construct a business with the specified name. |
Method Summary | |
void |
addCategory(Category category)
Add a category. |
void |
addContact(Contact contact)
Add the contact. |
void |
addDescription(Description description)
Add the specified description. |
void |
addDiscoveryURL(DiscoveryURL discoveryURL)
Add the discovery URL. |
void |
addIdentifier(Identifier identifier)
Add the identifier. |
void |
addName(Name name)
|
void |
addService(Service service)
Add the service. |
boolean |
equals(java.lang.Object object)
|
java.lang.String |
getAuthorizedName()
Return my authorized name. |
java.lang.String |
getBusinessKey()
Return my business key. |
Category[] |
getCategories()
Return an array of my categories. |
Contact[] |
getContacts()
Return an array of my contacts. |
Description[] |
getDescriptions()
Return my descriptions. |
DiscoveryURL[] |
getDiscoveryURLs()
Return my discovery URLs. |
Identifier[] |
getIdentifiers()
Return an array of my identifiers. |
java.lang.String |
getName()
Return my name. |
Name[] |
getNames()
|
java.lang.String |
getOperator()
Return my site operator. |
Service |
getService(java.lang.String serviceKey)
Return the service with the specified key, or null if not found. |
java.lang.String[] |
getServiceKeys()
Return an array of my service keys. |
Service[] |
getServices()
Return an array of my services. |
java.lang.String |
getUserName()
|
void |
read(IReader reader)
Restore myself from the specified reader. |
void |
removeCategory(Category category)
Remove a category. |
void |
removeContact(Contact contact)
Remove the contact. |
void |
removeDescription(Description description)
Remove the specified description. |
void |
removeDiscoveryURL(DiscoveryURL discoveryURL)
Remove the discovery URL. |
void |
removeIdentifier(Identifier identifier)
Remove the identifier. |
void |
removeName(Name name)
|
void |
removeService(Service service)
Remove the service. |
void |
removeService(java.lang.String serviceKey)
Remove the service with the specified key. |
void |
setAuthorizedName(java.lang.String authorizedName)
Set my authorized name. |
void |
setBusinessKey(java.lang.String businessKey)
Set my business key. |
void |
setCategories(Category[] categories)
|
void |
setContacts(Contact[] contacts)
|
void |
setDescriptions(Description[] descriptions)
Set my descriptions. |
void |
setIdentifiers(Identifier[] identifiers)
|
void |
setName(java.lang.String text)
|
void |
setNames(Name[] names)
|
void |
setOperator(java.lang.String siteOperator)
Set my site operator. |
void |
setServices(Service[] services)
Set my services. |
void |
setUserName(java.lang.String userName)
|
java.lang.String |
toString()
Return my description. |
void |
write(IWriter writer)
Write myself to the specified writer. |
void |
write(IWriter writer,
boolean includeServices,
boolean publishing,
boolean includeUserName)
Write myself to the specified writer. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Business()
public Business(java.lang.String name)
name
- The initial name.public Business(Name name)
name
- The initial name.public Business(Business business)
business
- Method Detail |
public java.lang.String toString()
public boolean equals(java.lang.Object object)
object
-
public void setBusinessKey(java.lang.String businessKey)
businessKey
- The new business key.public java.lang.String getBusinessKey()
public Name[] getNames()
public void setNames(Name[] names)
names
- public void addName(Name name)
name
- public void removeName(Name name)
name
- public java.lang.String getName()
INamed
getName
in interface INamed
public void setName(java.lang.String text)
text
- public void setAuthorizedName(java.lang.String authorizedName)
authorizedName
- The new authorized name.public java.lang.String getAuthorizedName()
public void setOperator(java.lang.String siteOperator)
siteOperator
- The new site operator.public java.lang.String getOperator()
public Description[] getDescriptions()
public void setDescriptions(Description[] descriptions)
descriptions
- The descriptions.public void addDescription(Description description)
description
- The description.public void removeDescription(Description description)
description
- The description.public void addDiscoveryURL(DiscoveryURL discoveryURL)
discoveryURL
- The discovery URL to add.public void removeDiscoveryURL(DiscoveryURL discoveryURL)
discoveryURL
- The discovery URL to remove.public DiscoveryURL[] getDiscoveryURLs()
public void addContact(Contact contact)
contact
- The contact to add.public void removeContact(Contact contact)
contact
- The contact to remove.public Contact[] getContacts()
public void setContacts(Contact[] contacts)
contacts
- public void addService(Service service)
service
- The service to add.public void removeService(Service service)
service
- The service to remove.public void removeService(java.lang.String serviceKey)
serviceKey
- The key of the service to remove.public Service[] getServices()
public java.lang.String[] getServiceKeys()
public Service getService(java.lang.String serviceKey)
serviceKey
- The key of the service to return.public void setServices(Service[] services)
services
- The new array of services.public void addIdentifier(Identifier identifier)
identifier
- The identifier to add.public void removeIdentifier(Identifier identifier)
identifier
- The identifier to remove.public Identifier[] getIdentifiers()
getIdentifiers
in interface IIdentified
public void setIdentifiers(Identifier[] identifiers)
identifiers
- public void addCategory(Category category)
category
- The category to add.public void removeCategory(Category category)
category
- The category to remove.public Category[] getCategories()
getCategories
in interface ICategorized
public void setCategories(Category[] categories)
categories
- public void setUserName(java.lang.String userName)
userName
- public java.lang.String getUserName()
public void write(IWriter writer) throws java.io.IOException
write
in interface ISerializable
writer
- The IWriter
java.io.IOException
- If a serialization error occurs.public void write(IWriter writer, boolean includeServices, boolean publishing, boolean includeUserName) throws java.io.IOException
writer
- The IWriterincludeServices
- If true, write my services as well.publishing
- includeUserName
-
java.io.IOException
- If a serialization error occurs.public void read(IReader reader) throws java.io.IOException
read
in interface ISerializable
reader
- The IReader
java.io.IOException
- If a deserialization error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |