public interface IDomainModel
Modifier and Type | Method and Description |
---|---|
String |
getId()
The slug is the name of the instance lower-cased, spaces replaced with '-',
and special characters removed.
|
String |
getName() |
String |
getOrganizationId() |
void |
setId(String id)
Sets the instance's slug.
|
void |
setName(String name)
Sets the name of the instance.
|
void |
setOrganizationId(String ownerId)
Sets the id of the owner of this instance.
|
String getName()
String getOrganizationId()
String getId()
void setName(String name)
name
- the name of the instance.void setOrganizationId(String ownerId)
ownerId
- the id of the owner.void setId(String id) throws BadSlugException
id
- the new slug.BadSlugException
- if the id is not a valid slug.Copyright © 2015 Collaborative Software Development Laboratory. All rights reserved.