|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ados.hestia.repository.PartnerProfile
public class PartnerProfile
Domain Java Object for a Partner Profile.
Nested Class Summary | |
---|---|
static class |
PartnerProfile.Contact
The object with contact information for a person from the partner side. |
static class |
PartnerProfile.EndPoint
The end point object with information for RosettaNet compitable partner's system. |
static class |
PartnerProfile.Location
The domain java object for partner location. |
Constructor Summary | |
---|---|
PartnerProfile()
The default constructor for Partner Profile Object. |
|
PartnerProfile(String type,
String domain,
String gbi,
String nokiaGBI,
String name,
String nameLang,
String supplyChainCode,
String classificationCode,
PartnerProfile.Contact contact,
PartnerProfile.Location location,
PartnerProfile.EndPoint endpoint,
X509Certificate certificate,
PrivateKey privateKey)
The constructor for unmutable PartnerProfile. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Indicates whether some other PartnerProfile is "equal to" this one. |
X509Certificate |
getCertificate()
Get a certificate for partner. |
String |
getClassificationCode()
Get a classification code for the partner. |
PartnerProfile.Contact |
getContact()
Get a contact for partner. |
String |
getDomain()
Get a domain for partner. |
PartnerProfile.EndPoint |
getEndPoint()
Get an end point for partner. |
String |
getGbi()
Get a Global Business Identificator for partner. |
PartnerProfile.Location |
getLocation()
Get a location informaton for partner. |
String |
getName()
Get a name of partner organization. |
String |
getNameLang()
Get a language for a name of partner organization. |
String |
getNokiaGBIAlias()
Returns the nokia GBI alias |
PrivateKey |
getPrivateKey()
Get a private key for partner. |
String |
getSupplyChainCode()
Get a supplay chain code for partner. |
String |
getType()
Get a type for partner. |
int |
hashCode()
|
void |
isValid()
Validate partner profile. |
void |
setCertificate(X509Certificate certificate)
Set the certificate for partner. |
void |
setContact(PartnerProfile.Contact contact)
Set the contact for partner. |
void |
setEndPoint(PartnerProfile.EndPoint endPoint)
Set the end point for partner. |
void |
setLocation(PartnerProfile.Location location)
Set the location for partner. |
void |
setNokiaGBIAlias(String nokiaGBIAlias)
Sets the nokia gbi alias. |
void |
setPrivateKey(PrivateKey privateKey)
Set the private key for partner. |
String |
toString()
Get a string with debug information for the partner profile. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String[] TYPES
public static final String[] GBI_TYPES
public static final String[] SUPPLY_CHAIN_CODES
public static final String[] CLASSIFICATION_CODES
public String m_type
public String m_domain
public String m_gbi
public String m_nokiaGBIAlias
public String m_name
public String m_nameLang
public String m_supplyChainCode
public String m_classificationCode
public PartnerProfile.Location m_location
public PartnerProfile.EndPoint m_endpoint
public PartnerProfile.Contact m_contact
public X509Certificate m_certificate
public PrivateKey m_privateKey
Constructor Detail |
---|
public PartnerProfile(String type, String domain, String gbi, String nokiaGBI, String name, String nameLang, String supplyChainCode, String classificationCode, PartnerProfile.Contact contact, PartnerProfile.Location location, PartnerProfile.EndPoint endpoint, X509Certificate certificate, PrivateKey privateKey)
type
- the type of prtner.domain
- the domain for identification standards (e.x. DUNS).gbi
- the Global Business Identificator via the domain requirements.name
- the name of the partner organization.nameLang
- the language for partner's name.supplyChainCode
- the code that classify a chain of supplaer for the partner.classificationCode
- the code that classify the partner.contact
- the object with contact information for the partner.location
- the object with location information for the partner.endpoint
- the object with RosettaNet compitable endpoint for the partner.certificate
- the object with a public certificate for the partner.public PartnerProfile()
Method Detail |
---|
public void isValid()
public void setLocation(PartnerProfile.Location location)
location
- the partner location.public void setEndPoint(PartnerProfile.EndPoint endPoint)
endPoint
- the end point.public void setContact(PartnerProfile.Contact contact)
contact
- the partner's contact.public void setCertificate(X509Certificate certificate)
certificate
- the partner's certificate.public void setPrivateKey(PrivateKey privateKey)
key
- the partner's private key.public void setNokiaGBIAlias(String nokiaGBIAlias)
nokiaGBIAlias
- the nokia alias GBIpublic String getType()
public String getDomain()
public String getGbi()
public String getName()
public String getNameLang()
public PartnerProfile.Location getLocation()
public PartnerProfile.EndPoint getEndPoint()
public X509Certificate getCertificate()
public PrivateKey getPrivateKey()
public PartnerProfile.Contact getContact()
public String getSupplyChainCode()
public String getClassificationCode()
public String getNokiaGBIAlias()
public String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
obj
- a reference object with which to compare.
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |