@Entity public class Organization extends HierarchialDomainObjectWithAttributes<Organization,OrganizationAttribute>
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,OrganizationAttribute> |
attributes
Any attribute that is not common for most of the entities belongs to be an Attribute rather than a field.
|
protected Long |
id |
protected String |
name
Unique Name to refer to the record
Id is an Auto generated number used by the system,
but is difficult for the outside world to get a handle on it.
|
ATTRIB_HIERARCHY_STARTS_LIKE, ATTRIB_PRODUCT_PARENT, displayName, parentIdROOT| Constructor and Description |
|---|
Organization() |
Organization(String s) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Map<String,OrganizationAttribute> |
getAttributes() |
GeoLocation |
getGeoLocation() |
Long |
getId() |
String |
getName()
Unique Name to refer to the record
Id is an Auto generated number used by the system,
but is difficult for the outside world to get a handle on it.
|
int |
hashCode() |
boolean |
liberalEquals(Venue obj)
Id or name matches
|
Organization |
setAttribute(String name,
String value)
Any attribute that is not common for most of the entities belongs to be an Attribute rather than a field.
|
void |
setAttributes(Map<String,OrganizationAttribute> attributes) |
void |
setGeoLocation(GeoLocation geoLocation) |
void |
setId(Long id) |
void |
setName(String name)
Unique Name to refer to the record
Id is an Auto generated number used by the system,
but is difficult for the outside world to get a handle on it.
|
String |
toString() |
getAttribute, getAttributeValuegetDisplayName, getHierarchy, getParentId, setDisplayName, setHierarchy, setParentId@Type(value="HIDDEN") protected String name
protected Map<String,OrganizationAttribute> attributes
public Organization()
public Organization(String s)
public Long getId()
public void setId(Long id)
id - the id to setpublic String getName()
IHierarchialReferencepublic void setName(String name)
IHierarchialReferencename - the name to setpublic GeoLocation getGeoLocation()
public void setGeoLocation(GeoLocation geoLocation)
geoLocation - the geoLocation to setpublic Organization setAttribute(String name, String value)
HierarchialDomainObjectWithAttributessetAttribute in interface Attributes<Organization,String>setAttribute in class HierarchialDomainObjectWithAttributes<Organization,OrganizationAttribute>name - as Stringvalue - as public Map<String,OrganizationAttribute> getAttributes()
getAttributes in class HierarchialDomainObjectWithAttributes<Organization,OrganizationAttribute>public void setAttributes(Map<String,OrganizationAttribute> attributes)
setAttributes in class HierarchialDomainObjectWithAttributes<Organization,OrganizationAttribute>public boolean liberalEquals(Venue obj)
public boolean equals(Object obj)
equals in class HierarchialDomainObjectpublic int hashCode()
hashCode in class HierarchialDomainObjectpublic String toString()
toString in class HierarchialDomainObjectCopyright © 2018. All rights reserved.