mirror of
				https://github.com/lacerta-doc/Lacerta.git
				synced 2025-11-04 00:40:49 +00:00 
			
		
		
		
	ListItemにisCombinedを追加
This commit is contained in:
		
							parent
							
								
									b9c1c521cf
								
							
						
					
					
						commit
						b86843bd57
					
				@ -10,6 +10,7 @@ public class ListItem {
 | 
			
		||||
    String description;
 | 
			
		||||
    ListItemType itemType;
 | 
			
		||||
    String itemId;
 | 
			
		||||
    boolean isCombined;
 | 
			
		||||
 | 
			
		||||
    // Constructor
 | 
			
		||||
 | 
			
		||||
@ -20,6 +21,14 @@ public class ListItem {
 | 
			
		||||
        this.itemId = itemId;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public ListItem(String title, String description, ListItemType itemType, String itemId, boolean isCombined) {
 | 
			
		||||
        this.title = title;
 | 
			
		||||
        this.description = description;
 | 
			
		||||
        this.itemType = itemType;
 | 
			
		||||
        this.itemId = itemId;
 | 
			
		||||
        this.isCombined = isCombined;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public ListItem() {
 | 
			
		||||
        // Empty constructor
 | 
			
		||||
    }
 | 
			
		||||
@ -42,6 +51,10 @@ public class ListItem {
 | 
			
		||||
        return itemId;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public boolean getIsCombined() {
 | 
			
		||||
        return isCombined;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    // Setter
 | 
			
		||||
 | 
			
		||||
    public void setTitle(String title) {
 | 
			
		||||
@ -60,4 +73,8 @@ public class ListItem {
 | 
			
		||||
        this.itemId = itemId;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public void setIsCombined(boolean isCombined) {
 | 
			
		||||
        this.isCombined = isCombined;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user