Package org.n52.series.db.beans.sta
Class RelationEntity
- java.lang.Object
-
- org.n52.series.db.beans.IdEntity
-
- org.n52.series.db.beans.DescribableEntity
-
- org.n52.series.db.beans.sta.RelationEntity
-
- All Implemented Interfaces:
Serializable,Describable,HibernateRelations.HasDescription,HibernateRelations.HasDescriptionTranslation,HibernateRelations.HasId,HibernateRelations.HasIdentifier,HibernateRelations.HasIdentifierCodespace,HibernateRelations.HasName,HibernateRelations.HasNameCodespace,HibernateRelations.HasNameTranslation,HibernateRelations.HasParameters,HibernateRelations.HasStaIdentifier,HibernateRelations.HasTranslations,IdentifierNameDescriptionEntity,StaRelations.HasGroups<RelationEntity>
public class RelationEntity extends DescribableEntity implements StaRelations.HasGroups<RelationEntity>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROPERTY_OBJECTstatic StringPROPERTY_ROLEstatic StringPROPERTY_SUBJECT-
Fields inherited from class org.n52.series.db.beans.DescribableEntity
PROPERTY_CODESPACE, PROPERTY_DOMAIN_ID, PROPERTY_IDENTIFIER, PROPERTY_IDENTIFIER_CODESPACE, PROPERTY_SERVICE, PROPERTY_SERVICE_ID, PROPERTY_STA_IDENTIFIER
-
Fields inherited from class org.n52.series.db.beans.IdEntity
PROPERTY_ID
-
Fields inherited from interface org.n52.series.db.beans.HibernateRelations.HasDescription
DESCRIPTION, PROPERTY_DESCRIPTION
-
Fields inherited from interface org.n52.series.db.beans.HibernateRelations.HasIdentifier
IDENTIFIER
-
Fields inherited from interface org.n52.series.db.beans.HibernateRelations.HasIdentifierCodespace
IDENTIFIER_CODESPACE
-
Fields inherited from interface org.n52.series.db.beans.HibernateRelations.HasName
NAME, PROPERTY_NAME
-
Fields inherited from interface org.n52.series.db.beans.HibernateRelations.HasNameCodespace
NAME_CODESPACE, PROPERTY_CODESPACE_NAME, PROPERTY_NAME_CODESPACE
-
Fields inherited from interface org.n52.series.db.beans.HibernateRelations.HasParameters
PARAMETERS
-
Fields inherited from interface org.n52.series.db.beans.HibernateRelations.HasStaIdentifier
STA_IDENTIFIER
-
Fields inherited from interface org.n52.series.db.beans.HibernateRelations.HasTranslations
LOCALE_REGEX, PROPERTY_TRANSLATIONS, TRANSLATIONS
-
Fields inherited from interface org.n52.series.db.beans.sta.StaRelations.HasGroups
GROUPS, PROPERTY_GROUPS
-
-
Constructor Summary
Constructors Constructor Description RelationEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetExternalObject()Set<GroupEntity>getGroups()DataEntity<?>getObject()StringgetRole()DataEntity<?>getSubject()booleanisSetExternalObject()booleanisSetObject()RelationEntitysetExternalObject(String externalObject)RelationEntitysetGroups(Set<GroupEntity> groups)RelationEntitysetObject(DataEntity<?> object)RelationEntitysetRole(String role)RelationEntitysetSubject(DataEntity<?> subject)-
Methods inherited from class org.n52.series.db.beans.DescribableEntity
addParameter, addParameters, equals, getDescription, getIdentifier, getIdentifierCodespace, getName, getNameCodespace, getParameters, getService, getStaIdentifier, getTranslations, hashCode, setDescription, setIdentifier, setIdentifierCodespace, setName, setNameCodespace, setParameters, setService, setStaIdentifier, setTranslations, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.n52.series.db.beans.Describable
getCountryCode, getDescriptionI18n, getLabelFrom, getMappedParameters, getMatchingLocale, getNameI18n, getTranslation, hasService, isDomainAvailable, isi18nNameAvailable, isNameAvailable, noTranslationAvailable
-
Methods inherited from interface org.n52.series.db.beans.HibernateRelations.HasDescription
isSetDescription
-
Methods inherited from interface org.n52.series.db.beans.HibernateRelations.HasId
getId, setId
-
Methods inherited from interface org.n52.series.db.beans.HibernateRelations.HasIdentifier
getDomain, isSetDomain, isSetIdentifier, setDomain, setIdentifier
-
Methods inherited from interface org.n52.series.db.beans.HibernateRelations.HasIdentifierCodespace
isSetIdentifierCodespace
-
Methods inherited from interface org.n52.series.db.beans.HibernateRelations.HasName
isSetName
-
Methods inherited from interface org.n52.series.db.beans.HibernateRelations.HasNameCodespace
isSetNameCodespace
-
Methods inherited from interface org.n52.series.db.beans.HibernateRelations.HasParameters
hasParameters
-
Methods inherited from interface org.n52.series.db.beans.HibernateRelations.HasStaIdentifier
addFragment, addHost, addPath, addPort, addValue, addValue, addValues, generateUUID, isSetStaIdentifier, processIdentifierForSta
-
Methods inherited from interface org.n52.series.db.beans.HibernateRelations.HasTranslations
hasTranslations
-
Methods inherited from interface org.n52.series.db.beans.sta.StaRelations.HasGroups
hasRelations
-
-
-
-
Field Detail
-
PROPERTY_SUBJECT
public static final String PROPERTY_SUBJECT
- See Also:
- Constant Field Values
-
PROPERTY_OBJECT
public static final String PROPERTY_OBJECT
- See Also:
- Constant Field Values
-
PROPERTY_ROLE
public static final String PROPERTY_ROLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRole
public String getRole()
-
setRole
public RelationEntity setRole(String role)
-
getExternalObject
public String getExternalObject()
-
setExternalObject
public RelationEntity setExternalObject(String externalObject)
-
isSetExternalObject
public boolean isSetExternalObject()
-
getSubject
public DataEntity<?> getSubject()
-
setSubject
public RelationEntity setSubject(DataEntity<?> subject)
-
getObject
public DataEntity<?> getObject()
-
setObject
public RelationEntity setObject(DataEntity<?> object)
-
isSetObject
public boolean isSetObject()
-
getGroups
public Set<GroupEntity> getGroups()
- Specified by:
getGroupsin interfaceStaRelations.HasGroups<RelationEntity>
-
setGroups
public RelationEntity setGroups(Set<GroupEntity> groups)
- Specified by:
setGroupsin interfaceStaRelations.HasGroups<RelationEntity>
-
-