@Entity public class PartMaster extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private List<PartAlternateLink> |
alternates |
private User |
author |
private Date |
creationDate |
private String |
description |
private String |
name |
private String |
number |
private List<PartRevision> |
partRevisions |
private boolean |
standardPart |
private Workspace |
workspace |
Constructor and Description |
---|
PartMaster() |
PartMaster(Workspace pWorkspace,
String pNumber) |
PartMaster(Workspace pWorkspace,
String pNumber,
User pAuthor) |
Modifier and Type | Method and Description |
---|---|
PartRevision |
createNextRevision(User pUser) |
boolean |
equals(Object pObj) |
List<PartAlternateLink> |
getAlternates() |
User |
getAuthor() |
Date |
getCreationDate() |
String |
getDescription() |
PartMasterKey |
getKey() |
PartRevision |
getLastRevision() |
String |
getName() |
String |
getNumber() |
List<PartRevision> |
getPartRevisions() |
Workspace |
getWorkspace() |
String |
getWorkspaceId() |
int |
hashCode() |
boolean |
isStandardPart() |
PartRevision |
removeLastRevision() |
void |
setAlternates(List<PartAlternateLink> alternates) |
void |
setAuthor(User author) |
void |
setCreationDate(Date creationDate) |
void |
setDescription(String description) |
void |
setName(String name) |
void |
setNumber(String number) |
void |
setPartRevisions(List<PartRevision> partRevisions) |
void |
setStandardPart(boolean standardPart) |
void |
setWorkspace(Workspace workspace) |
String |
toString() |
private String number
private Workspace workspace
private User author
private List<PartAlternateLink> alternates
private Date creationDate
private String name
private String description
private List<PartRevision> partRevisions
private boolean standardPart
public User getAuthor()
public void setAuthor(User author)
public Date getCreationDate()
public void setCreationDate(Date creationDate)
public String getNumber()
public void setNumber(String number)
public List<PartAlternateLink> getAlternates()
public void setAlternates(List<PartAlternateLink> alternates)
public List<PartRevision> getPartRevisions()
public void setPartRevisions(List<PartRevision> partRevisions)
public boolean isStandardPart()
public void setStandardPart(boolean standardPart)
public PartRevision getLastRevision()
public PartRevision removeLastRevision()
public PartRevision createNextRevision(User pUser)
public Workspace getWorkspace()
public void setWorkspace(Workspace workspace)
public String getName()
public void setName(String name)
public PartMasterKey getKey()
public String getDescription()
public void setDescription(String description)
public String getWorkspaceId()
Copyright © 2013 OW2 Consortium. All Rights Reserved.