-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename Userprofile to ConversionProfile; apply changes to remaning
- Loading branch information
Showing
15 changed files
with
96 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,71 +7,73 @@ | |
*/ | ||
package org.roda.core.data.v2.common; | ||
|
||
import java.io.Serial; | ||
import java.io.Serializable; | ||
import java.util.HashMap; | ||
import java.util.Map; | ||
|
||
/** | ||
* @author António Lindo <[email protected]> | ||
*/ | ||
public class UserProfile implements Serializable { | ||
public class ConversionProfile implements Serializable { | ||
@Serial | ||
private static final long serialVersionUID = -117396300862413045L; | ||
private String title; | ||
private String profile; | ||
private String description; | ||
private boolean dissemination; | ||
private boolean representation; | ||
private boolean canBeUsedForDissemination; | ||
private boolean canBeUsedForRepresentation; | ||
private Map<String, String> options; | ||
|
||
public UserProfile() { | ||
public ConversionProfile() { | ||
options = new HashMap<>(); | ||
} | ||
|
||
public void setTitle(String title) { | ||
this.title = title; | ||
} | ||
|
||
public void setProfile(String profile) { | ||
this.profile = profile; | ||
} | ||
|
||
public void setDescription(String description) { | ||
this.description = description; | ||
} | ||
|
||
public void setOptions(Map<String, String> options) { | ||
this.options = options; | ||
} | ||
|
||
public void setHasRepresentation(boolean representation) { | ||
this.representation = representation; | ||
public void setCanBeUsedForRepresentation(boolean representation) { | ||
this.canBeUsedForRepresentation = representation; | ||
} | ||
|
||
public void setHasDissemination(boolean dissemination) { | ||
this.dissemination = dissemination; | ||
public void setCanBeUsedForDissemination(boolean dissemination) { | ||
this.canBeUsedForDissemination = dissemination; | ||
} | ||
|
||
public boolean isDissemination() { | ||
return dissemination; | ||
public boolean canBeUsedForDissemination() { | ||
return canBeUsedForDissemination; | ||
} | ||
|
||
public boolean isRepresentation() { | ||
return representation; | ||
public boolean canBeUsedForRepresentation() { | ||
return canBeUsedForRepresentation; | ||
} | ||
|
||
public String getTitle() { | ||
return title; | ||
} | ||
|
||
public void setTitle(String title) { | ||
this.title = title; | ||
} | ||
|
||
public String getProfile() { | ||
return profile; | ||
} | ||
|
||
public void setProfile(String profile) { | ||
this.profile = profile; | ||
} | ||
|
||
public String getDescription() { | ||
return description; | ||
} | ||
|
||
public void setDescription(String description) { | ||
this.description = description; | ||
} | ||
|
||
public Map<String, String> getOptions() { | ||
return options; | ||
} | ||
|
||
public void setOptions(Map<String, String> options) { | ||
this.options = options; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.